Index: src/libchcore/TCoreConfig.h =================================================================== diff -u -N -r2457755b4084e3d1c80a8e7c77c9f0996312941b -rbeeac49d2e0888993bd231a4e5863c7f0741e154 --- src/libchcore/TCoreConfig.h (.../TCoreConfig.h) (revision 2457755b4084e3d1c80a8e7c77c9f0996312941b) +++ src/libchcore/TCoreConfig.h (.../TCoreConfig.h) (revision beeac49d2e0888993bd231a4e5863c7f0741e154) @@ -27,23 +27,17 @@ // contains everything that could be configured inside the engine. // supports both the informations contained in the ini file and // ones related to current instance of CH core -class LIBCHCORE_API TCoreConfig : public icpf::config +class LIBCHCORE_API TCoreConfig { protected: - TCoreConfig(icpf::config::config_base_types eType); + TCoreConfig(); virtual ~TCoreConfig(); public: static TCoreConfig& Acquire(); - // paths handling - void SetBasePath(const tchar_t* pszPath); - const tchar_t* GetBasePath() { return m_strBasePath.c_str(); } - const tchar_t* GetTasksPath() { return m_strTasksPath.c_str(); } - private: - tstring_t m_strBasePath; - tstring_t m_strTasksPath; + icpf::config m_config; static TCoreConfig S_Config; };