Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -7,6 +7,7 @@ |
namespace AdblockPlus |
{ |
+ struct AppInfo; |
class ErrorCallback; |
class FileReader; |
class WebRequest; |
@@ -21,7 +22,8 @@ |
class JsEngine |
{ |
public: |
- JsEngine(const FileReader* const fileReader, |
+ JsEngine(const AppInfo& appInfo, |
+ const FileReader* const fileReader, |
WebRequest* const webRequest, |
ErrorCallback* const errorCallback); |
std::string Evaluate(const std::string& source, |