| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 static CString GetDataPath(const CString& filename=L""); | 73 static CString GetDataPath(const CString& filename=L""); |
| 74 | 74 |
| 75 bool IsPluginEnabled() const; | 75 bool IsPluginEnabled() const; |
| 76 | 76 |
| 77 std::map<CString, CString> GetFilterLanguageTitleList() const; | 77 std::map<CString, CString> GetFilterLanguageTitleList() const; |
| 78 | 78 |
| 79 void SetWorkingThreadId(); | 79 void SetWorkingThreadId(); |
| 80 void SetWorkingThreadId(DWORD id); | 80 void SetWorkingThreadId(DWORD id); |
| 81 bool IsWorkingThread(DWORD dwThread=0) const; | 81 bool IsWorkingThread(DWORD dwThread=0) const; |
| 82 | 82 |
| 83 static CString GetSystemLanguage(); | |
| 84 DWORD m_WindowsBuildNumber; | 83 DWORD m_WindowsBuildNumber; |
| 85 | 84 |
| 86 public: | 85 public: |
| 87 | 86 |
| 88 void TogglePluginEnabled(); | 87 void TogglePluginEnabled(); |
| 89 bool GetPluginEnabled() const; | 88 bool GetPluginEnabled() const; |
| 90 | 89 |
| 91 void AddError(const CString& error, const CString& errorCode); | 90 void AddError(const CString& error, const CString& errorCode); |
| 92 | 91 |
| 93 // Settings whitelist | 92 // Settings whitelist |
| (...skipping 17 matching lines...) Expand all Loading... |
| 111 | 110 |
| 112 void SetSubscription(const std::wstring& url); | 111 void SetSubscription(const std::wstring& url); |
| 113 void SetDefaultSubscription(); | 112 void SetDefaultSubscription(); |
| 114 CString GetSubscription(); | 113 CString GetSubscription(); |
| 115 CString GetAppLocale(); | 114 CString GetAppLocale(); |
| 116 CString GetDocumentationLink(); | 115 CString GetDocumentationLink(); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 | 118 |
| 120 #endif // _PLUGIN_SETTINGS_H_ | 119 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |