#ifndef CONFIG_MANAGER_BASE_H #define CONFIG_MANAGER_BASE_H #include #include class ConfigManagerBase { public: ConfigManagerBase(); virtual ~ConfigManagerBase(); public: void addSearchPath( const std::string &sPath ); void loadConfig( const std::string &sFileName, const char *lpProfile="default" ); private: bool parseConfig( const char *lpFileName, const char *lpProfile ); virtual bool processProfile( class XmlNode *pBase )=0; std::list lSearchPath; }; #endif