| Index: include/AdblockPlus/FilterEngine.h |
| =================================================================== |
| --- a/include/AdblockPlus/FilterEngine.h |
| +++ b/include/AdblockPlus/FilterEngine.h |
| @@ -186,11 +186,14 @@ |
| typedef std::tr1::function<void(const std::string&, const JsValuePtr)> FilterChangeCallback; |
| /** |
| - * Constructor. |
| + * Constructor. Allows disabling FRP and auto updates |
| * @param jsEngine `JsEngine` instance used to run JavaScript code |
| * internally. |
| + * @param disableAutoUpdates `bool` true if automatic updates should |
| + * be disabled |
| + * @param disableFRP `bool` true if first run page should be disabled |
| */ |
| - explicit FilterEngine(JsEnginePtr jsEngine); |
| + explicit FilterEngine(JsEnginePtr jsEngine, bool firstRunDisabled = false, bool autoUpdatesDisabled = false); |
|
Eric
2015/05/15 19:36:13
Even at this early stage, I think it would be bett
Felix Dahlke
2015/05/28 20:42:56
I agree - in fact, I had something more generic in
|
| /** |
| * Retrieves the `JsEngine` instance associated with this `FilterEngine` |