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