OLD | NEW |
1 #ifndef _PLUGIN_SYSTEM_H_ | 1 #ifndef _PLUGIN_SYSTEM_H_ |
2 #define _PLUGIN_SYSTEM_H_ | 2 #define _PLUGIN_SYSTEM_H_ |
3 | 3 |
4 | 4 #include <string> |
5 class CPluginSystem | 5 std::wstring GetBrowserLanguage(); |
6 { | |
7 private: | |
8 | |
9 static CComAutoCriticalSection s_criticalSection; | |
10 | |
11 // Private constructor used by the singleton pattern | |
12 CPluginSystem(); | |
13 | |
14 public: | |
15 static CPluginSystem* s_instance; | |
16 | |
17 static CPluginSystem* CPluginSystem::GetInstance(); | |
18 | |
19 ~CPluginSystem(); | |
20 | |
21 CString GetBrowserLanguage() const; | |
22 }; | |
23 | 6 |
24 #endif // _PLUGIN_SYSTEM_H_ | 7 #endif // _PLUGIN_SYSTEM_H_ |
OLD | NEW |