| LEFT | RIGHT |
| 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 #include "PluginStdAfx.h" | 18 #include "PluginStdAfx.h" |
| 19 | 19 |
| 20 #include "Plugin.h" | 20 #include "Plugin.h" |
| 21 #ifdef _WIN64 | 21 #ifdef _WIN64 |
| 22 #include "../../build/x64/AdblockPlus_i.c" | 22 #include "../../build/x64/AdblockPlus_i.c" |
| 23 #else | 23 #else |
| 24 #include "../../build/ia32/AdblockPlus_i.c" | 24 #include "../../build/ia32/AdblockPlus_i.c" |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 #include "PluginClass.h" | 27 #include "PluginClass.h" |
| 28 #include "PluginMimeFilterClient.h" | 28 #include "PluginMimeFilterClient.h" |
| 29 #include "PluginSettings.h" | 29 #include "PluginSettings.h" |
| 30 #include "PluginWbPassThrough.h" | |
| 31 | 30 |
| 32 CComModule _Module; | 31 CComModule _Module; |
| 33 | 32 |
| 34 BEGIN_OBJECT_MAP(ObjectMap) | 33 BEGIN_OBJECT_MAP(ObjectMap) |
| 35 OBJECT_ENTRY(CLSID_PluginClass, CPluginClass) | 34 OBJECT_ENTRY(CLSID_PluginClass, CPluginClass) |
| 36 END_OBJECT_MAP() | 35 END_OBJECT_MAP() |
| 37 | 36 |
| 38 //Dll Entry Point | 37 //Dll Entry Point |
| 39 BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID reserved) | 38 BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID reserved) |
| 40 { | 39 { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 STDAPI DllRegisterServer(void) | 98 STDAPI DllRegisterServer(void) |
| 100 { | 99 { |
| 101 return _Module.RegisterServer(TRUE); | 100 return _Module.RegisterServer(TRUE); |
| 102 } | 101 } |
| 103 | 102 |
| 104 STDAPI DllUnregisterServer(void) | 103 STDAPI DllUnregisterServer(void) |
| 105 { | 104 { |
| 106 return _Module.UnregisterServer(TRUE); | 105 return _Module.UnregisterServer(TRUE); |
| 107 } | 106 } |
| 108 | 107 |
| LEFT | RIGHT |