OLD | NEW |
1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
2 | 2 |
3 #include "Plugin.h" | 3 #include "Plugin.h" |
4 #if (defined PRODUCT_ADBLOCKPLUS) | 4 #if (defined PRODUCT_ADBLOCKPLUS) |
5 #include "../AdBlocker/AdBlocker_i.c" | 5 #include "../AdBlocker/AdBlocker_i.c" |
6 #endif | 6 #endif |
7 | 7 |
8 #include "PluginClass.h" | 8 #include "PluginClass.h" |
9 #include "PluginClient.h" | 9 #include "PluginClient.h" |
10 #include "PluginSystem.h" | 10 #include "PluginSystem.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 else | 134 else |
135 { | 135 { |
136 DEBUG_GENERAL( | 136 DEBUG_GENERAL( |
137 L"======================================================
==========================\nUPDATER " + | 137 L"======================================================
==========================\nUPDATER " + |
138 CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + setting
s->GetString(SETTING_PLUGIN_VERSION) + L")" | 138 CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + setting
s->GetString(SETTING_PLUGIN_VERSION) + L")" |
139 L"\n====================================================
============================") | 139 L"\n====================================================
============================") |
140 } | 140 } |
141 | 141 |
142 // Create default filters | 142 // Create default filters |
143 #ifdef SUPPORT_FILTER | 143 #ifdef SUPPORT_FILTER |
144 DEBUG_GENERAL(L"*** Generating default filters") | 144 // DEBUG_GENERAL(L"*** Generating default filters") |
145 CPluginFilter::CreateFilters(); | 145 // CPluginFilter::CreateFilters(); |
146 #endif | 146 #endif |
147 | 147 |
148 // Force creation of default dictionary | 148 // Force creation of default dictionary |
149 CPluginDictionary* dictionary = CPluginDictionary::GetInstance(true); | 149 CPluginDictionary* dictionary = CPluginDictionary::GetInstance(true); |
150 dictionary->Create(true); | 150 dictionary->Create(true); |
151 | 151 |
152 // Force creation of default config file | 152 // Force creation of default config file |
153 #ifdef SUPPORT_CONFIG | 153 #ifdef SUPPORT_CONFIG |
154 DEBUG_GENERAL("*** Generating config file") | 154 DEBUG_GENERAL("*** Generating config file") |
155 CPluginConfig* config = CPluginConfig::GetInstance(); | 155 CPluginConfig* config = CPluginConfig::GetInstance(); |
(...skipping 17 matching lines...) Expand all Loading... |
173 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp) | 173 EXTERN_C void STDAPICALLTYPE OnInstall(MSIHANDLE hInstall, MSIHANDLE tmp) |
174 { | 174 { |
175 InitPlugin(true); | 175 InitPlugin(true); |
176 } | 176 } |
177 | 177 |
178 // Called from updater | 178 // Called from updater |
179 EXTERN_C void STDAPICALLTYPE OnUpdate(void) | 179 EXTERN_C void STDAPICALLTYPE OnUpdate(void) |
180 { | 180 { |
181 InitPlugin(false); | 181 InitPlugin(false); |
182 } | 182 } |
OLD | NEW |