My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "define.h" 00030 #include "StringHelper.h" 00031 #include "PathHelper.h" 00032 00033 #include "Option.h" 00034 #include "SystemHelper.h" 00035 #include "SallyHelper.h" 00036 00037 namespace SallyAPI 00038 { 00039 namespace Core 00040 { 00049 00050 class DLL_API_SALLY COptionManager 00051 { 00052 private: 00053 static std::map<std::string, SallyAPI::System::COption*> m_OptionMap; 00054 static SallyAPI::Core::COptionManager* m_pObject; 00055 00056 COptionManager(); 00057 ~COptionManager(); 00058 public: 00059 static SallyAPI::Core::COptionManager* GetInstance(); 00060 static void DeleteInstance(); 00061 00062 SallyAPI::System::COption* GetOption(const std::string& explicidAppName); 00063 }; 00064 } 00065 }