X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=9ce1b6bdbb8350e426bc95ff0adaf2d09390464d;hp=adfe71e47a3fc0803b23245bca3498e95dc8cc5b;hb=0ce5b46ac41f3ac806ee1828eb121dd196bf1251;hpb=0f91922e40640e00f1208aee5d8c968a698c5d31 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index adfe71e..9ce1b6b 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -6,13 +7,17 @@ #include #include "disassembler/Disassembler.hxx" +#include "widgets/BasicBlockWidget.hxx" +#include "widgets/ScriptingDock.hxx" class Mainwindow : public QMainWindow { Q_OBJECT public: - Mainwindow(); + Mainwindow(const std::string& filename = ""); private: - void populateSymbolInformation(const std::string& sym); + void openBinary(const std::string& filename); + + void populateSymbolInformation(Function * fun); QTextEdit *textEdit; QPushButton *quitButton; @@ -22,12 +27,14 @@ 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(); };