1 #ifndef INCLUDE__Guile_hxx_
2 #define INCLUDE__Guile_hxx_
5 #include <log4cxx/logger.h>
8 #include "Interpreter.hxx"
10 class GuileInterpreter : public QObject, public Interpreter {
12 Q_PLUGIN_METADATA(IID "xyz.frida.Interpreter")
13 Q_INTERFACES(Interpreter)
17 int evaluate(const std::string& command,
22 int loadFile(const std::string& filename,
27 std::string fileExtension() const {return "scm";}
29 int evaluateWithErrorHandling(SCM (*fun)(void *),
35 SCM guile_output_port;
37 log4cxx::LoggerPtr logger;
41 class Geiser : public QThread {
44 Geiser(QObject* parent) : QThread(parent) {}
46 void run() Q_DECL_OVERRIDE;
51 #endif /* INCLUDE__Guile_hxx_ */