| 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(); | 81 std::map<CString, CString> GetFilterLanguageTitleList() const; |
| 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 public: | 90 public: |
| 91 | 91 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 111 #endif //SUPPORT_WHITELIST | 111 #endif //SUPPORT_WHITELIST |
| 112 | 112 |
| 113 bool RefreshWhitelist(); | 113 bool RefreshWhitelist(); |
| 114 DWORD GetWindowsBuildNumber(); | 114 DWORD GetWindowsBuildNumber(); |
| 115 | 115 |
| 116 void SetSubscription(const std::wstring& url); | 116 void SetSubscription(const std::wstring& url); |
| 117 void SetDefaultSubscription(); | 117 void SetDefaultSubscription(); |
| 118 CString GetSubscription(); | 118 CString GetSubscription(); |
| 119 CString GetAppLocale(); | 119 CString GetAppLocale(); |
| 120 CString GetDocumentationLink(); | 120 CString GetDocumentationLink(); |
| 121 std::vector<SubscriptionDescription> m_subscriptions; | |
| 122 }; | 121 }; |
| 123 | 122 |
| 124 | 123 |
| 125 #endif // _PLUGIN_SETTINGS_H_ | 124 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |