#include <string>
#include <sstream>
+#include <QtPlugin>
class Interpreter {
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_ */