view extern/vera/src/plugins/CurrentRule.h @ 725:0dbe1842a7d8

Irccd: rework loggers, closes #793 @3h Logger now supports category/component metadata.
author David Demelier <markand@malikania.fr>
date Tue, 17 Jul 2018 22:30:00 +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)
//

#ifndef CURRENTRULE_H_INCLUDED
#define CURRENTRULE_H_INCLUDED

#include <string>


namespace Vera
{
namespace Plugins
{

class CurrentRule
{
public:
    typedef std::string RuleName;

    static void setCurrentRule(const RuleName & name);
    static RuleName getCurrentRule();
};

} // namespace Plugins

} // namespace Vera

#endif // CURRENTRULE_H_INCLUDED