a49dc3eaeadf6a8e061bc78b36c7917d024c6c99
[frida/frida.git] / src / gui / widgets / ScriptingDock.hxx
1 #ifndef INCLUDE__ScriptingDock_hxx
2 #define INCLUDE__ScriptingDock_hxx
3 #include "gui/qt.hxx"
4 #include <libguile.h>
5 #include <log4cxx/logger.h>
6
7 class Interpreter;
8
9 class ScriptingDock : public QDockWidget {
10 Q_OBJECT
11 public:
12 ScriptingDock(Interpreter* interpreter, const QString& title, QWidget * parent = 0);
13
14 private:
15 log4cxx::LoggerPtr logger;
16
17 QTextBrowser * browser;
18 QGridLayout * layout;
19 QPushButton * button;
20 QLineEdit * line;
21
22 Interpreter* interpreter;
23 private Q_SLOTS:
24 void doEvaluate();
25 };
26
27 #endif