view extern/vera/src/plugins/Rules.h @ 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)
//

#ifndef RULES_H_INCLUDED
#define RULES_H_INCLUDED

#include <string>


namespace Vera
{
namespace Plugins
{

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

    static void executeRule(const RuleName & name);

    static RuleName getCurrentRule();
};

} // namespace Plugins

} // namespace Vera

#endif // RULES_H_INCLUDED