view extern/vera/src/plugins/RootDirectory.cpp @ 680:900ca2f95838

Irccd: do not allow multiple server with same name
author David Demelier <markand@malikania.fr>
date Thu, 12 Apr 2018 20:45:02 +0200
parents a7c0eb100760
children
line wrap: on
line source

//
// Copyright (C) 2006-2007 Maciej Sobczak
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//

#include "RootDirectory.h"


namespace // unnamed
{

Vera::Plugins::RootDirectory::DirectoryName root_;

} // unnamed namespace

namespace Vera
{
namespace Plugins
{

void RootDirectory::setRootDirectory(const DirectoryName & name)
{
    root_ = name;
}

RootDirectory::DirectoryName RootDirectory::getRootDirectory()
{
    return root_;
}

}
}