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.