X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=3892ebd61ad29572a9517f9a421a9f0c35f12d8b;hb=9f05d22509de68655005ca6630972438bb0ef26c;hp=34abc3a16a72e2f97da83a77871380f2fef7bd78;hpb=0454d885d5994f4d6b765864b77998137dad7204;p=frida%2Ffrida.git diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 34abc3a..3892ebd 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -1,16 +1,19 @@ +#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; @@ -25,7 +28,7 @@ private: QAction *exitAction; QAction *openAction; - qtlldb::Binary * curBin; + std::shared_ptr disassembler; private slots: void quit(); void open();