00001 // -*- indent-tabs-mode: nil -*- 00002 00003 #ifndef __ARC_INICONFIG_H__ 00004 #define __ARC_INICONFIG_H__ 00005 00006 #include <string> 00007 00008 #include <arc/ArcConfig.h> 00009 #include <arc/XMLNode.h> 00010 00011 namespace Arc { 00012 00013 class IniConfig 00014 : public XMLNode { 00015 public: 00016 // Dummy constructor. 00017 IniConfig() : XMLNode(NS(), "IniConfig") {} 00018 IniConfig(const std::string& filename); 00019 ~IniConfig(); 00020 bool Evaluate(Config &cfg); 00021 }; 00022 00023 } // namespace Arc 00024 00025 #endif /* __ARC_INICONFIG_H__ */