| 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-present eyeo GmbH | 3  * Copyright (C) 2006-present 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 136      * @return The asynchronous IFileSystem implementation. | 136      * @return The asynchronous IFileSystem implementation. | 
| 137      */ | 137      */ | 
| 138     IFileSystem& GetFileSystem(); | 138     IFileSystem& GetFileSystem(); | 
| 139 | 139 | 
| 140     /** | 140     /** | 
| 141     * @return The asynchronous IWebRequest implementation. | 141     * @return The asynchronous IWebRequest implementation. | 
| 142     */ | 142     */ | 
| 143     IWebRequest& GetWebRequest(); | 143     IWebRequest& GetWebRequest(); | 
| 144 | 144 | 
| 145     /** | 145     /** | 
| 146      * @see `SetLogSystem()`. | 146      * @return The LogSystem implementation. | 
| 147      */ | 147      */ | 
| 148     LogSystem& GetLogSystem(); | 148     LogSystem& GetLogSystem(); | 
| 149 | 149 | 
| 150   private: | 150   private: | 
| 151     LogSystemPtr logSystem; | 151     LogSystemPtr logSystem; | 
| 152     TimerPtr timer; | 152     TimerPtr timer; | 
| 153     FileSystemPtr fileSystem; | 153     FileSystemPtr fileSystem; | 
| 154     WebRequestPtr webRequest; | 154     WebRequestPtr webRequest; | 
| 155     // used for creation and deletion of modules. | 155     // used for creation and deletion of modules. | 
| 156     std::mutex modulesMutex; | 156     std::mutex modulesMutex; | 
| 157     std::shared_ptr<JsEngine> jsEngine; | 157     std::shared_ptr<JsEngine> jsEngine; | 
| 158     std::shared_future<FilterEnginePtr> filterEngine; | 158     std::shared_future<FilterEnginePtr> filterEngine; | 
| 159   }; | 159   }; | 
| 160 } | 160 } | 
| 161 | 161 | 
| 162 #endif // ADBLOCK_PLUS_PLATFORM_H | 162 #endif // ADBLOCK_PLUS_PLATFORM_H | 
| LEFT | RIGHT | 
|---|