Help initialising the engine
Posted: Sun Jun 17, 2018 10:23 pm
Hello I'm having trouble getting the engine running.
I get a couple of errors with this code.
Thanks for any help.
Code: Select all
AppInfo appInfo;
appInfo.name = 'awesomewebfilter';
appInfo.version = '0.1';
appInfo.locale = 'en-US';
JsEngine jsEngine(appInfo);
auto filterEngine = FilterEngine::CreateAsync(jsEngine);
I'm also having trouble with the second parameter of CreateAsync. Not sure what to put there.error: no matching constructor for initialization of 'AdblockPlus::JsEngine'
Thanks for any help.