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 #ifndef _PLUGIN_CLIENT_BASE_H_ | 18 #ifndef _PLUGIN_CLIENT_BASE_H_ |
19 #define _PLUGIN_CLIENT_BASE_H_ | 19 #define _PLUGIN_CLIENT_BASE_H_ |
20 | 20 |
21 | |
22 #include "PluginTypedef.h" | |
23 | |
24 | |
25 class CPluginClientFactory; | 21 class CPluginClientFactory; |
26 | 22 |
27 | |
28 class CPluginError | 23 class CPluginError |
29 { | 24 { |
30 | 25 |
31 private: | 26 private: |
32 | 27 |
33 int m_errorId; | 28 int m_errorId; |
34 int m_errorSubid; | 29 int m_errorSubid; |
35 DWORD m_errorCode; | 30 DWORD m_errorCode; |
36 CString m_errorDescription; | 31 CString m_errorDescription; |
37 DWORD m_processId; | 32 DWORD m_processId; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 * Wrapper around Microsoft API 'UrlUnescape' | 89 * Wrapper around Microsoft API 'UrlUnescape' |
95 * | 90 * |
96 * This function has modify-in-place semantics. | 91 * This function has modify-in-place semantics. |
97 * This behavior matches that of the legacy version of this function declared ab
ove. | 92 * This behavior matches that of the legacy version of this function declared ab
ove. |
98 * At present, callers of this function have no code to handle error conditions
that might arise here. | 93 * At present, callers of this function have no code to handle error conditions
that might arise here. |
99 * Because there's no error handling, therefore, this masks failures in UrlUnesc
ape. | 94 * Because there's no error handling, therefore, this masks failures in UrlUnesc
ape. |
100 */ | 95 */ |
101 void UnescapeUrl(std::wstring& url); | 96 void UnescapeUrl(std::wstring& url); |
102 | 97 |
103 #endif // _PLUGIN_CLIENT_BASE_H_ | 98 #endif // _PLUGIN_CLIENT_BASE_H_ |
OLD | NEW |