Add log widget to lower dock
[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 class FridaDock;
9
10 class ScriptingDock : public QWidget {
11 Q_OBJECT
12 public:
13 ScriptingDock(Interpreter* interpreter, FridaDock* parent);
14
15 private:
16 log4cxx::LoggerPtr logger;
17
18 QTextBrowser * browser;
19 QGridLayout * layout;
20 QPushButton * button;
21 QLineEdit * line;
22
23 Interpreter* interpreter;
24 private Q_SLOTS:
25 void doEvaluate();
26 };
27
28 #endif