| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 #ifdef SUPPORT_WHITELIST | 200 #ifdef SUPPORT_WHITELIST |
| 201 | 201 |
| 202 private: | 202 private: |
| 203 std::vector<std::string> m_whitelistedDomains; | 203 std::vector<std::string> m_whitelistedDomains; |
| 204 | 204 |
| 205 void ClearWhitelist(); | 205 void ClearWhitelist(); |
| 206 bool ReadWhitelist(bool bDebug=true); | 206 bool ReadWhitelist(bool bDebug=true); |
| 207 | 207 |
| 208 public: | 208 public: |
| 209 void AddWhiteListedDomain(const CString& domain); | 209 void AddWhiteListedDomain(const CString& domain); |
| 210 void RemoveWhiteListedDomain(const CString& domain); |
| 210 bool IsWhiteListedDomain(const CString& domain) const; | 211 bool IsWhiteListedDomain(const CString& domain) const; |
| 211 int GetWhiteListedDomainCount() const; | 212 int GetWhiteListedDomainCount() const; |
| 212 std::vector<std::string> GetWhiteListedDomainList(); | 213 std::vector<std::string> GetWhiteListedDomainList(); |
| 213 #endif //SUPPORT_WHITELIST | 214 #endif //SUPPORT_WHITELIST |
| 214 | 215 |
| 215 bool RefreshWhitelist(); | 216 bool RefreshWhitelist(); |
| 216 DWORD GetWindowsBuildNumber(); | 217 DWORD GetWindowsBuildNumber(); |
| 217 | 218 |
| 218 void SetSubscription(BSTR language); | 219 void SetSubscription(BSTR language); |
| 219 void SetSubscription(std::string language); | 220 void SetSubscription(std::string language); |
| 220 void SetDefaultSubscription(); | 221 void SetDefaultSubscription(); |
| 221 CString GetSubscription(); | 222 CString GetSubscription(); |
| 222 void RefreshFilterlist(); | 223 void RefreshFilterlist(); |
| 223 | 224 |
| 224 std::vector<SubscriptionDescription> m_subscriptions; | 225 std::vector<SubscriptionDescription> m_subscriptions; |
| 225 }; | 226 }; |
| 226 | 227 |
| 227 | 228 |
| 228 #endif // _PLUGIN_SETTINGS_H_ | 229 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |