| LEFT | RIGHT |
| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 public: | 90 public: |
| 91 | 91 |
| 92 void TogglePluginEnabled(); | 92 void TogglePluginEnabled(); |
| 93 void SetPluginDisabled(); | |
| 94 void SetPluginEnabled(); | |
| 95 bool GetPluginEnabled() const; | 93 bool GetPluginEnabled() const; |
| 96 | 94 |
| 97 void AddError(const CString& error, const CString& errorCode); | 95 void AddError(const CString& error, const CString& errorCode); |
| 98 | 96 |
| 99 // Settings whitelist | 97 // Settings whitelist |
| 100 #ifdef SUPPORT_WHITELIST | 98 #ifdef SUPPORT_WHITELIST |
| 101 | 99 |
| 102 private: | 100 private: |
| 103 std::vector<std::wstring> m_whitelistedDomains; | 101 std::vector<std::wstring> m_whitelistedDomains; |
| 104 | 102 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 118 void SetSubscription(const std::wstring& url); | 116 void SetSubscription(const std::wstring& url); |
| 119 void SetDefaultSubscription(); | 117 void SetDefaultSubscription(); |
| 120 CString GetSubscription(); | 118 CString GetSubscription(); |
| 121 CString GetAppLocale(); | 119 CString GetAppLocale(); |
| 122 CString GetDocumentationLink(); | 120 CString GetDocumentationLink(); |
| 123 std::vector<SubscriptionDescription> m_subscriptions; | 121 std::vector<SubscriptionDescription> m_subscriptions; |
| 124 }; | 122 }; |
| 125 | 123 |
| 126 | 124 |
| 127 #endif // _PLUGIN_SETTINGS_H_ | 125 #endif // _PLUGIN_SETTINGS_H_ |
| LEFT | RIGHT |