X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=3892ebd61ad29572a9517f9a421a9f0c35f12d8b;hp=46a6676187261d68eac8ce38e4439d4149fc5223;hb=f3a965524eae344fbd25ba486e9fa32e1262fcc4;hpb=26c4bd3156495d5c6d18e51b06c19e8c6eea62d0 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 46a6676..3892ebd 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -1,18 +1,19 @@ -#include "include.hxx" - +#include #include #include #include #include #include -#include "Binary.hxx" +#include "disassembler/Disassembler.hxx" class Mainwindow : public QMainWindow { Q_OBJECT public: - Mainwindow(); + Mainwindow(const std::string& filename = ""); private: + void openBinary(const std::string& filename); + void populateSymbolInformation(const std::string& sym); QTextEdit *textEdit; @@ -27,7 +28,7 @@ private: QAction *exitAction; QAction *openAction; - qtlldb::Binary * curBin; + std::shared_ptr disassembler; private slots: void quit(); void open();