| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 45     PROC_IS_ELEMHIDE_WHITELISTED_ON_URL, | 45     PROC_IS_ELEMHIDE_WHITELISTED_ON_URL, | 
| 46     PROC_ADD_FILTER, | 46     PROC_ADD_FILTER, | 
| 47     PROC_REMOVE_FILTER, | 47     PROC_REMOVE_FILTER, | 
| 48     PROC_SET_PREF, | 48     PROC_SET_PREF, | 
| 49     PROC_GET_PREF, | 49     PROC_GET_PREF, | 
| 50     PROC_IS_FIRST_RUN_ACTION_NEEDED, | 50     PROC_IS_FIRST_RUN_ACTION_NEEDED, | 
| 51     PROC_CHECK_FOR_UPDATES, | 51     PROC_CHECK_FOR_UPDATES, | 
| 52     PROC_GET_DOCUMENTATION_LINK, | 52     PROC_GET_DOCUMENTATION_LINK, | 
| 53     PROC_TOGGLE_PLUGIN_ENABLED, | 53     PROC_TOGGLE_PLUGIN_ENABLED, | 
| 54     PROC_GET_HOST, | 54     PROC_GET_HOST, | 
| 55     PROC_COMPARE_VERSIONS | 55     PROC_COMPARE_VERSIONS, | 
|  | 56     PROC_GET_CONVERTED_FROM | 
| 56   }; | 57   }; | 
| 57   enum ValueType : uint32_t { | 58   enum ValueType : uint32_t { | 
| 58     TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL, TYP
     E_STRINGS | 59     TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL, TYP
     E_STRINGS | 
| 59   }; | 60   }; | 
| 60   typedef uint32_t SizeType; | 61   typedef uint32_t SizeType; | 
| 61 | 62 | 
| 62   class InputBuffer | 63   class InputBuffer | 
| 63   { | 64   { | 
| 64   public: | 65   public: | 
| 65     InputBuffer() : buffer(), hasType(false) {} | 66     InputBuffer() : buffer(), hasType(false) {} | 
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 238 | 239 | 
| 239     InputBuffer ReadMessage(); | 240     InputBuffer ReadMessage(); | 
| 240     void WriteMessage(OutputBuffer& message); | 241     void WriteMessage(OutputBuffer& message); | 
| 241 | 242 | 
| 242   protected: | 243   protected: | 
| 243     HANDLE pipe; | 244     HANDLE pipe; | 
| 244   }; | 245   }; | 
| 245 } | 246 } | 
| 246 | 247 | 
| 247 #endif | 248 #endif | 
| OLD | NEW | 
|---|