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 CString m_pluginId; | |
12 | |
13 // Private constructor used by the singleton pattern | 11 // Private constructor used by the singleton pattern |
14 CPluginSystem(); | 12 CPluginSystem(); |
15 | 13 |
16 public: | 14 public: |
17 static CPluginSystem* s_instance; | 15 static CPluginSystem* s_instance; |
18 | 16 |
19 static CPluginSystem* CPluginSystem::GetInstance(); | 17 static CPluginSystem* CPluginSystem::GetInstance(); |
20 | 18 |
21 ~CPluginSystem(); | 19 ~CPluginSystem(); |
22 | 20 |
23 CString GetBrowserLanguage() const; | 21 CString GetBrowserLanguage() const; |
24 CString GetBrowserVersion() const; | |
25 }; | 22 }; |
26 | 23 |
27 #endif // _PLUGIN_SYSTEM_H_ | 24 #endif // _PLUGIN_SYSTEM_H_ |
OLD | NEW |