| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 std::map<CString, CString> GetFilterLanguageTitleList(); | 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: | |
| 91 | |
| 92 bool m_isPluginEnabledTab; | |
| 93 | |
| 94 public: | 90 public: |
| 95 | 91 |
| 96 void TogglePluginEnabled(); | 92 void TogglePluginEnabled(); |
| 97 void SetPluginDisabled(); | 93 void SetPluginDisabled(); |
| 98 void SetPluginEnabled(); | 94 void SetPluginEnabled(); |
| 99 bool GetPluginEnabled() const; | 95 bool GetPluginEnabled() const; |
| 100 | 96 |
| 101 void AddError(const CString& error, const CString& errorCode); | 97 void AddError(const CString& error, const CString& errorCode); |
| 102 | 98 |
| 103 // Settings whitelist | 99 // Settings whitelist |
| (...skipping 18 matching lines...) Expand all Loading... |
| 122 void SetSubscription(const std::wstring& url); | 118 void SetSubscription(const std::wstring& url); |
| 123 void SetDefaultSubscription(); | 119 void SetDefaultSubscription(); |
| 124 CString GetSubscription(); | 120 CString GetSubscription(); |
| 125 CString GetAppLocale(); | 121 CString GetAppLocale(); |
| 126 CString GetDocumentationLink(); | 122 CString GetDocumentationLink(); |
| 127 std::vector<SubscriptionDescription> m_subscriptions; | 123 std::vector<SubscriptionDescription> m_subscriptions; |
| 128 }; | 124 }; |
| 129 | 125 |
| 130 | 126 |
| 131 #endif // _PLUGIN_SETTINGS_H_ | 127 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |