RulesLoader.hh

00001 /*
00002 ** Stechec project is free software; you can redistribute it and/or modify
00003 ** it under the terms of the GNU General Public License as published by
00004 ** the Free Software Foundation; either version 2 of the License, or
00005 ** (at your option) any later version.
00006 **
00007 ** The complete GNU General Public Licence Notice can be found as the
00008 ** `NOTICE' file in the root directory.
00009 **
00010 ** Copyright (C) 2006 Prologin
00011 */
00012 
00013 #ifndef RULES_LOADER_HH_
00014 # define RULES_LOADER_HH_
00015 
00016 # include "BaseRules.hh"
00017 # include "ClientCx.hh"
00018 
00023 class RulesLoader
00024 {
00025 public:
00026   RulesLoader();
00027   ~RulesLoader();
00028 
00029   BaseCRules*   loadRules(xml::XMLConfig& cfg);
00030   bool          initRules(ClientCx* ccx);
00031   const struct RuleDescription& getModuleDesc();
00032 
00033 private:
00034   Library       lib_rules_;
00035   BaseCRules*   base_rules_;
00036 };
00037 
00038 #endif /* !RULES_LOADER_HH_ */

Generated on Sat Jun 23 16:07:24 2007 for Stechec/TBT by  doxygen 1.4.7