X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=7f6d63e5c04d2d7e80f596eed4a26ca62d3aa025;hp=3892ebd61ad29572a9517f9a421a9f0c35f12d8b;hb=9254f26b4470c13bed9f6c18c86bde98d809b64c;hpb=f3a965524eae344fbd25ba486e9fa32e1262fcc4 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 3892ebd..7f6d63e 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -1,4 +1,8 @@ +#ifndef INCLUDE__Mainwindow_hxx_ +#define INCLUDE__Mainwindow_hxx_ + #include +#include #include #include #include @@ -6,6 +10,8 @@ #include #include "disassembler/Disassembler.hxx" +#include "widgets/BasicBlockWidget.hxx" +#include "widgets/ScriptingDock.hxx" class Mainwindow : public QMainWindow { Q_OBJECT @@ -14,7 +20,7 @@ public: private: void openBinary(const std::string& filename); - void populateSymbolInformation(const std::string& sym); + void populateSymbolInformation(Function * fun); QTextEdit *textEdit; QPushButton *quitButton; @@ -24,12 +30,16 @@ private: QListWidget * listWidget; QStackedWidget * stackedWidget; QDockWidget * dockWidget; + ScriptingDock * scripting; QAction *exitAction; QAction *openAction; std::shared_ptr disassembler; -private slots: + std::map blocks; +private Q_SLOTS: void quit(); void open(); }; + +#endif /* INCLUDE__Mainwindow_hxx_ */