| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
| 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * This class contains all client functionality of the IE plugin | 19 * This class contains all client functionality of the IE plugin |
| 20 * | 20 * |
| 21 * Exception errors are tested by calls to ExceptionsTest from: Main ... | 21 * Exception errors are tested by calls to ExceptionsTest from: Main ... |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 #ifndef _PLUGIN_SETTINGS_H_ | 24 #ifndef _PLUGIN_SETTINGS_H_ |
| 25 #define _PLUGIN_SETTINGS_H_ | 25 #define _PLUGIN_SETTINGS_H_ |
| 26 | 26 |
| 27 #include "PluginTypedef.h" | |
| 28 #include "AdblockPlusClient.h" | 27 #include "AdblockPlusClient.h" |
| 29 | 28 |
| 30 // Main settings | 29 // Main settings |
| 31 | 30 |
| 32 #define SETTING_PLUGIN_INFO_PANEL L"plugininfopanel" | 31 #define SETTING_PLUGIN_INFO_PANEL L"plugininfopanel" |
| 33 #define SETTING_PLUGIN_VERSION L"pluginversion" | 32 #define SETTING_PLUGIN_VERSION L"pluginversion" |
| 34 #define SETTING_PLUGIN_UPDATE_VERSION L"pluginupdateversion" | 33 #define SETTING_PLUGIN_UPDATE_VERSION L"pluginupdateversion" |
| 35 #define SETTING_PLUGIN_SELFTEST L"pluginselftest" | 34 #define SETTING_PLUGIN_SELFTEST L"pluginselftest" |
| 36 #define SETTING_LANGUAGE L"language" | 35 #define SETTING_LANGUAGE L"language" |
| 37 #define SETTING_DICTIONARY_VERSION L"dictionaryversion" | 36 #define SETTING_DICTIONARY_VERSION L"dictionaryversion" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void SetSubscription(const std::wstring& url); | 104 void SetSubscription(const std::wstring& url); |
| 106 void SetDefaultSubscription(); | 105 void SetDefaultSubscription(); |
| 107 CString GetSubscription(); | 106 CString GetSubscription(); |
| 108 CString GetAppLocale(); | 107 CString GetAppLocale(); |
| 109 CString GetDocumentationLink(); | 108 CString GetDocumentationLink(); |
| 110 }; | 109 }; |
| 111 | 110 |
| 112 std::wstring GetDataPath(const std::wstring& filename=L""); | 111 std::wstring GetDataPath(const std::wstring& filename=L""); |
| 113 | 112 |
| 114 #endif // _PLUGIN_SETTINGS_H_ | 113 #endif // _PLUGIN_SETTINGS_H_ |
| OLD | NEW |