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 |
(...skipping 10 matching lines...) Expand all Loading... |
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 "PluginClient.h" | 28 #include "PluginClient.h" |
29 #include "PluginSystem.h" | 29 #include "PluginSystem.h" |
30 #include "PluginSettings.h" | 30 #include "PluginSettings.h" |
31 #include "PluginMimeFilterClient.h" | 31 #include "PluginAppNamespaceClient.h" |
32 #include "Msiquery.h" | 32 #include "Msiquery.h" |
33 #include "PluginFilter.h" | 33 #include "PluginFilter.h" |
34 | 34 |
35 #include "../shared/Dictionary.h" | 35 #include "../shared/Dictionary.h" |
36 | 36 |
37 CComModule _Module; | 37 CComModule _Module; |
38 | 38 |
39 BEGIN_OBJECT_MAP(ObjectMap) | 39 BEGIN_OBJECT_MAP(ObjectMap) |
40 OBJECT_ENTRY(CLSID_PluginClass, CPluginClass) | 40 OBJECT_ENTRY(CLSID_PluginClass, CPluginClass) |
41 END_OBJECT_MAP() | 41 END_OBJECT_MAP() |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp) | 136 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp) |
137 { | 137 { |
138 InitPlugin(true); | 138 InitPlugin(true); |
139 } | 139 } |
140 | 140 |
141 // Called from updater | 141 // Called from updater |
142 EXTERN_C void STDAPICALLTYPE OnUpdate(void) | 142 EXTERN_C void STDAPICALLTYPE OnUpdate(void) |
143 { | 143 { |
144 InitPlugin(false); | 144 InitPlugin(false); |
145 } | 145 } |
OLD | NEW |