| Index: include/AdblockPlus/JsEngine.h |
| =================================================================== |
| --- a/include/AdblockPlus/JsEngine.h |
| +++ b/include/AdblockPlus/JsEngine.h |
| @@ -38,16 +38,17 @@ namespace AdblockPlus |
| { |
| return NewValue(std::string(val)); |
| } |
| inline JsValuePtr NewValue(int val) |
| { |
| return NewValue(static_cast<int64_t>(val)); |
| } |
| JsValuePtr NewObject(); |
| + JsValuePtr NewCallback(v8::InvocationCallback callback); |
| static JsEngine& FromArguments(const v8::Arguments& arguments); |
| JsValueList ConvertArguments(const v8::Arguments& arguments); |
| inline FileSystem& GetFileSystem() |
| { |
| return fileSystem; |
| } |
| inline WebRequest& GetWebRequest() |