Mercurial > irccd
view extern/vera/src/plugins/Profiles.h @ 548:a7c0eb100760
CMake: import vera++ 1.3.0, closes #729
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 22 Nov 2017 20:10:03 +0100 |
parents | |
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 PROFILES_H_INCLUDED #define PROFILES_H_INCLUDED #include <string> #include <stdexcept> #include <vector> #include "Rules.h" namespace Vera { namespace Plugins { class ProfileError : public std::runtime_error { public: ProfileError(const std::string & msg) : std::runtime_error(msg) {} }; class Profiles { public: typedef std::string ProfileName; typedef std::vector<Vera::Plugins::Rules::RuleName> RuleNameCollection; static void executeProfile(const ProfileName & name); static RuleNameCollection getListOfScriptNamesTcl( const Vera::Plugins::Profiles::ProfileName & profile); static RuleNameCollection getListOfScriptNamesKeys( const Vera::Plugins::Profiles::ProfileName & profile); static RuleNameCollection getListOfScriptNames( const Vera::Plugins::Profiles::ProfileName & profile); }; } // namespace Plugins } // namespace Vera #endif // PROFILES_H_INCLUDED