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 |
11 #include "PluginTypedef.h" | 11 #include "PluginTypedef.h" |
12 | 12 |
13 | 13 |
14 // Main settings | 14 // Main settings |
15 | 15 |
16 #define SETTING_USER_ID L"userid" | |
17 #define SETTING_PLUGIN_ID L"pluginuniqueid" | |
18 #define SETTING_PLUGIN_INFO_PANEL L"plugininfopanel" | 16 #define SETTING_PLUGIN_INFO_PANEL L"plugininfopanel" |
19 #define SETTING_PLUGIN_EXPIRED L"pluginexpired" | |
20 #define SETTING_PLUGIN_PASSWORD L"pluginpassword" | |
21 #define SETTING_PLUGIN_VERSION L"pluginversion" | 17 #define SETTING_PLUGIN_VERSION L"pluginversion" |
22 #define SETTING_PLUGIN_UPDATE_URL L"pluginupdateurl" | 18 #define SETTING_PLUGIN_UPDATE_URL L"pluginupdateurl" |
23 #define SETTING_PLUGIN_UPDATE_VERSION L"pluginupdateversion" | 19 #define SETTING_PLUGIN_UPDATE_VERSION L"pluginupdateversion" |
24 #define SETTING_PLUGIN_UPDATE_TIME L"pluginupdatetime" | 20 #define SETTING_PLUGIN_UPDATE_TIME L"pluginupdatetime" |
25 #define SETTING_PLUGIN_SELFTEST L"pluginselftest" | 21 #define SETTING_PLUGIN_SELFTEST L"pluginselftest" |
26 #define SETTING_LANGUAGE L"language" | 22 #define SETTING_LANGUAGE L"language" |
27 #define SETTING_PLUGIN_REGISTRATION L"registration" | |
28 #define SETTING_PLUGIN_ADBLOCKLIMIT L"adblocklimit" | |
29 #define SETTING_PLUGIN_ADBLOCKCOUNT L"adblockcount" | |
30 #define SETTING_PLUGIN_LIMITDAY L"limitday" | |
31 #define SETTING_FFMPEG L"ffmpeg" | |
32 #define SETTING_FFMPEG_CHECK L"ffmpeg_check" | |
33 #define SETTING_CLOSE_WHEN_FINISHED L"closeWhenFinished" | |
34 #define SETTING_DEFAULT_FORMAT L"defaultFormat" | |
35 #define SETTING_DEFAULT_DIR L"defaultDir" | |
36 #define SETTING_DOWNLOAD_LIMIT L"downloadlimit" | |
37 | 23 |
38 #ifdef SUPPORT_FILTER | 24 #ifdef SUPPORT_FILTER |
39 #define SETTING_FILTER_VERSION L"filterversion" | 25 #define SETTING_FILTER_VERSION L"filterversion" |
40 #endif | 26 #endif |
41 #ifdef SUPPORT_CONFIG | 27 #ifdef SUPPORT_CONFIG |
42 #define SETTING_CONFIG_VERSION L"configversion" | 28 #define SETTING_CONFIG_VERSION L"configversion" |
43 #endif | 29 #endif |
44 #define SETTING_LAST_UPDATE_TIME L"lastupdatetime" | 30 #define SETTING_LAST_UPDATE_TIME L"lastupdatetime" |
45 #define SETTING_REG_DATE L"regdate" | |
46 #define SETTING_REG_ATTEMPTS L"regattempts" | |
47 #define SETTING_REG_SUCCEEDED L"regsucceeded" | |
48 #define SETTING_DICTIONARY_VERSION L"dictionaryversion" | 31 #define SETTING_DICTIONARY_VERSION L"dictionaryversion" |
49 | 32 |
50 // Tab settings | 33 // Tab settings |
51 | 34 |
52 #define SETTING_TAB_PLUGIN_ENABLED L"pluginenabled" | 35 #define SETTING_TAB_PLUGIN_ENABLED L"pluginenabled" |
53 #define SETTING_TAB_COUNT L"tabcount" | 36 #define SETTING_TAB_COUNT L"tabcount" |
54 #define SETTING_TAB_START_TIME L"tabstart" | 37 #define SETTING_TAB_START_TIME L"tabstart" |
55 #define SETTING_TAB_UPDATE_ON_START L"updateonstart" | 38 #define SETTING_TAB_UPDATE_ON_START L"updateonstart" |
56 #define SETTING_TAB_UPDATE_ON_START_REMOVE L"updateonstartremove" | 39 #define SETTING_TAB_UPDATE_ON_START_REMOVE L"updateonstartremove" |
57 #define SETTING_TAB_DICTIONARY_VERSION L"dictionaryversion" | 40 #define SETTING_TAB_DICTIONARY_VERSION L"dictionaryversion" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 262 |
280 bool RefreshWhitelist(); | 263 bool RefreshWhitelist(); |
281 DWORD GetWindowsBuildNumber(); | 264 DWORD GetWindowsBuildNumber(); |
282 | 265 |
283 #endif //SUPPORT_WHITELIST | 266 #endif //SUPPORT_WHITELIST |
284 | 267 |
285 }; | 268 }; |
286 | 269 |
287 | 270 |
288 #endif // _PLUGIN_SETTINGS_H_ | 271 #endif // _PLUGIN_SETTINGS_H_ |
OLD | NEW |