Index: include/AdblockPlus/JsEngine.h |
=================================================================== |
--- a/include/AdblockPlus/JsEngine.h |
+++ b/include/AdblockPlus/JsEngine.h |
@@ -19,22 +19,19 @@ namespace AdblockPlus |
}; |
class JsEngine |
{ |
public: |
JsEngine(const FileReader* const fileReader, |
WebRequest* const webRequest, |
ErrorCallback* const errorCallback); |
- std::string Evaluate(const char* source, const char* filename = NULL); |
std::string Evaluate(const std::string& source, |
const std::string& filename = ""); |
void Load(const std::string& scriptPath); |
- std::string Call(const std::string& functionName); |
- std::string GetVariable(const std::string& name); |
void Gc(); |
private: |
const FileReader* const fileReader; |
v8::Persistent<v8::Context> context; |
}; |
} |