| OLD | NEW |
| 1 libadblockplus | 1 libadblockplus |
| 2 ============== | 2 ============== |
| 3 | 3 |
| 4 A C++ library offering the core functionality of Adblock Plus. | 4 A C++ library offering the core functionality of Adblock Plus. |
| 5 | 5 |
| 6 Getting/updating the dependencies | 6 Getting/updating the dependencies |
| 7 --------------------------------- | 7 --------------------------------- |
| 8 | 8 |
| 9 libadblockplus has dependencies that aren't part of this repository. They are | 9 libadblockplus has dependencies that aren't part of this repository. They are |
| 10 retrieved and updated during the build process, but you can also manually update | 10 retrieved and updated during the build process, but you can also manually update |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 Depending on your application and platform, you might want to supply your own | 128 Depending on your application and platform, you might want to supply your own |
| 129 implementations for these - see | 129 implementations for these - see |
| 130 [`FilterEngine::SetFileSystem`](https://adblockplus.org/docs/libadblockplus/clas
s_adblock_plus_1_1_js_engine.html#a979e9bde78499dab9f5e3aacc5155f40), | 130 [`FilterEngine::SetFileSystem`](https://adblockplus.org/docs/libadblockplus/clas
s_adblock_plus_1_1_js_engine.html#a979e9bde78499dab9f5e3aacc5155f40), |
| 131 [`FilterEngine::SetWebRequest`](https://adblockplus.org/docs/libadblockplus/clas
s_adblock_plus_1_1_js_engine.html#a290a03b86137a56d7b2f457f03c77504) | 131 [`FilterEngine::SetWebRequest`](https://adblockplus.org/docs/libadblockplus/clas
s_adblock_plus_1_1_js_engine.html#a290a03b86137a56d7b2f457f03c77504) |
| 132 and | 132 and |
| 133 [`FilterEngine::SetLogSystem`](https://adblockplus.org/docs/libadblockplus/class
_adblock_plus_1_1_js_engine.html#ab60b10be1d4500bce4b17c1e9dbaf4c8) | 133 [`FilterEngine::SetLogSystem`](https://adblockplus.org/docs/libadblockplus/class
_adblock_plus_1_1_js_engine.html#ab60b10be1d4500bce4b17c1e9dbaf4c8) |
| 134 respectively. | 134 respectively. |
| 135 | 135 |
| 136 With the `JsEngine` instance created, you can create a `FilterEngine` instance: | 136 With the `JsEngine` instance created, you can create a `FilterEngine` instance: |
| 137 | 137 |
| 138 FilterEngine filterEngine(jsEngine); | 138 auto filterEngine = FilterEngine::Create(jsEngine); |
| 139 |
| 140 Please also pay attention to asynchronous version of factory method |
| 141 FilterEngine::CreateAsync and to optional creationParameters. |
| 139 | 142 |
| 140 When initialised, `FilterEngine` will automatically select a suitable ad | 143 When initialised, `FilterEngine` will automatically select a suitable ad |
| 141 blocking subscription based on `AppInfo::locale` and download the filters for | 144 blocking subscription based on `AppInfo::locale` and download the filters for |
| 142 it. | 145 it. |
| 143 | 146 |
| 144 ### Managing subscriptions | 147 ### Managing subscriptions |
| 145 | 148 |
| 146 libadblockplus takes care of storing and updating subscriptions. | 149 libadblockplus takes care of storing and updating subscriptions. |
| 147 | 150 |
| 148 You can add more: | 151 You can add more: |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 232 |
| 230 ### Unix | 233 ### Unix |
| 231 | 234 |
| 232 The shell is automatically built by `make`, you can run it as follows: | 235 The shell is automatically built by `make`, you can run it as follows: |
| 233 | 236 |
| 234 build/out/abpshell | 237 build/out/abpshell |
| 235 | 238 |
| 236 ### Windows | 239 ### Windows |
| 237 | 240 |
| 238 Just run the project *abpshell*. | 241 Just run the project *abpshell*. |
| OLD | NEW |