| 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 #include "PluginStdAfx.h" | 18 #include "PluginStdAfx.h" |
| 19 #include "PluginSettings.h" | 19 #include "PluginSettings.h" |
| 20 #include "PluginSystem.h" | 20 #include "PluginSystem.h" |
| 21 #include "PluginFilter.h" | 21 #include "PluginFilter.h" |
| 22 #include "PluginClientFactory.h" | |
| 23 #include "PluginMutex.h" | 22 #include "PluginMutex.h" |
| 24 #include "PluginClass.h" | 23 #include "PluginClass.h" |
| 25 | 24 |
| 26 #include "AdblockPlusClient.h" | 25 #include "AdblockPlusClient.h" |
| 27 | 26 |
| 28 #include "../shared/Utils.h" | 27 #include "../shared/Utils.h" |
| 29 | 28 |
| 30 namespace | 29 namespace |
| 31 { | 30 { |
| 32 void SpawnAdblockPlusEngine() | 31 void SpawnAdblockPlusEngine() |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 DEBUG_GENERAL("CompareVersions"); | 567 DEBUG_GENERAL("CompareVersions"); |
| 569 Communication::OutputBuffer request; | 568 Communication::OutputBuffer request; |
| 570 request << Communication::PROC_COMPARE_VERSIONS << ToUtf8String(v1) << ToUtf8S
tring(v2); | 569 request << Communication::PROC_COMPARE_VERSIONS << ToUtf8String(v1) << ToUtf8S
tring(v2); |
| 571 Communication::InputBuffer response; | 570 Communication::InputBuffer response; |
| 572 if (!CallEngine(request, response)) | 571 if (!CallEngine(request, response)) |
| 573 return 0; | 572 return 0; |
| 574 int result; | 573 int result; |
| 575 response >> result; | 574 response >> result; |
| 576 return result; | 575 return result; |
| 577 } | 576 } |
| OLD | NEW |