X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fbindings%2FInterpreter.hxx;h=898f0e0ea26c016d5615b9eda97d86d7e4222705;hp=a8d9ad90c9364a52fbacaedd7d99e74cd7da2eee;hb=c81c0d3dba088b302187d7862a62ca88d2306e24;hpb=7cc1f7b923b7859a7469e6a651d4a87bc48c4772 diff --git a/src/bindings/Interpreter.hxx b/src/bindings/Interpreter.hxx index a8d9ad9..898f0e0 100644 --- a/src/bindings/Interpreter.hxx +++ b/src/bindings/Interpreter.hxx @@ -3,6 +3,7 @@ #include #include +#include class Interpreter { public: @@ -10,7 +11,16 @@ public: std::ostream& stdout, std::ostream& stderr, std::string& result) = 0; + + virtual int loadFile(const std::string& filename, + std::ostream& stdout, + std::ostream& stderr, + std::string& result) = 0; + + virtual std::string fileExtension() const = 0; private: }; +Q_DECLARE_INTERFACE(Interpreter, "xyz.frida.Interpreter") + #endif /* INCLUDE__Interpreter_hxx_ */