00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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