| 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 * http://msdn.microsoft.com/en-us/library/bb250436.aspx | 19 * http://msdn.microsoft.com/en-us/library/bb250436.aspx |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef _PLUGIN_CLASS_H_ | 22 #ifndef _PLUGIN_CLASS_H_ |
| 23 #define _PLUGIN_CLASS_H_ | 23 #define _PLUGIN_CLASS_H_ |
| 24 | 24 |
| 25 | 25 |
| 26 #include "PluginTypedef.h" | |
| 27 #include "Plugin.h" | 26 #include "Plugin.h" |
| 28 #include "PluginTab.h" | 27 #include "PluginTabBase.h" |
| 29 #define _CRTDBG_MAP_ALLOC | 28 #define _CRTDBG_MAP_ALLOC |
| 30 #include <stdlib.h> | 29 #include <stdlib.h> |
| 31 #include <crtdbg.h> | 30 #include <crtdbg.h> |
| 32 #include <set> | 31 #include <set> |
| 33 | 32 |
| 34 #include "NotificationMessage.h" | 33 #include "NotificationMessage.h" |
| 35 | 34 |
| 36 #define ICON_PLUGIN_DISABLED 0 | 35 #define ICON_PLUGIN_DISABLED 0 |
| 37 #define ICON_PLUGIN_ENABLED 1 | 36 #define ICON_PLUGIN_ENABLED 1 |
| 38 #define ICON_PLUGIN_DEACTIVATED 2 | 37 #define ICON_PLUGIN_DEACTIVATED 2 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 182 |
| 184 // Async browser | 183 // Async browser |
| 185 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; | 184 static CComQIPtr<IWebBrowser2> s_asyncWebBrowser2; |
| 186 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); | 185 static CComQIPtr<IWebBrowser2> GetAsyncBrowser(); |
| 187 }; | 186 }; |
| 188 | 187 |
| 189 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) | 188 OBJECT_ENTRY_AUTO(__uuidof(PluginClass), CPluginClass) |
| 190 | 189 |
| 191 | 190 |
| 192 #endif // _PLUGIN_CLASS_H_ | 191 #endif // _PLUGIN_CLASS_H_ |
| OLD | NEW |