OLD | NEW |
1 /** | 1 /** |
2 * This class contains all client functionality of the IE plugin | 2 * This class contains all client functionality of the IE plugin |
3 * | 3 * |
4 * Exception errors are tested by calls to ExceptionsTest from: Main ... | 4 * Exception errors are tested by calls to ExceptionsTest from: Main ... |
5 */ | 5 */ |
6 | 6 |
7 #ifndef _PLUGIN_SETTINGS_H_ | 7 #ifndef _PLUGIN_SETTINGS_H_ |
8 #define _PLUGIN_SETTINGS_H_ | 8 #define _PLUGIN_SETTINGS_H_ |
9 | 9 |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 static CPluginSettings* s_instance; | 72 static CPluginSettings* s_instance; |
73 | 73 |
74 static bool HasInstance(); | 74 static bool HasInstance(); |
75 static CPluginSettings* GetInstance(); | 75 static CPluginSettings* GetInstance(); |
76 | 76 |
77 static CString GetDataPath(const CString& filename=L""); | 77 static CString GetDataPath(const CString& filename=L""); |
78 | 78 |
79 bool IsPluginEnabled() const; | 79 bool IsPluginEnabled() const; |
80 | 80 |
81 std::map<CString, CString> GetFilterLanguageTitleList() const; | 81 std::map<CString, CString> GetFilterLanguageTitleList(); |
82 | 82 |
83 void SetWorkingThreadId(); | 83 void SetWorkingThreadId(); |
84 void SetWorkingThreadId(DWORD id); | 84 void SetWorkingThreadId(DWORD id); |
85 bool IsWorkingThread(DWORD dwThread=0) const; | 85 bool IsWorkingThread(DWORD dwThread=0) const; |
86 | 86 |
87 static CString GetSystemLanguage(); | 87 static CString GetSystemLanguage(); |
88 DWORD m_WindowsBuildNumber; | 88 DWORD m_WindowsBuildNumber; |
89 | 89 |
90 private: | 90 private: |
91 | 91 |
(...skipping 30 matching lines...) Expand all Loading... |
122 void SetSubscription(const std::wstring& url); | 122 void SetSubscription(const std::wstring& url); |
123 void SetDefaultSubscription(); | 123 void SetDefaultSubscription(); |
124 CString GetSubscription(); | 124 CString GetSubscription(); |
125 CString GetAppLocale(); | 125 CString GetAppLocale(); |
126 CString GetDocumentationLink(); | 126 CString GetDocumentationLink(); |
127 std::vector<SubscriptionDescription> m_subscriptions; | 127 std::vector<SubscriptionDescription> m_subscriptions; |
128 }; | 128 }; |
129 | 129 |
130 | 130 |
131 #endif // _PLUGIN_SETTINGS_H_ | 131 #endif // _PLUGIN_SETTINGS_H_ |
OLD | NEW |