X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=179a9c40ac5f6aacf72972883922504a6f7e3a01;hp=40fa81d5f50de269927da297be9bbf6c37de8943;hb=26ff0a6f5b4ea19657f851a82a8d679f10d19edb;hpb=231dae075375e7d57982f5107b86294fbe726b33 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 40fa81d..179a9c4 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -4,12 +4,15 @@ #include #include #include + #include #include #include #include #include +#include + #include "disassembler/Disassembler.hxx" #include "widgets/BasicBlockWidget.hxx" #include "widgets/ScriptingDock.hxx" @@ -19,8 +22,10 @@ class Mainwindow : public QMainWindow { Q_OBJECT public: Mainwindow(InformationManager* mgr); + private: void addFunction(Function* fun); + void setGlobalHotkeys(); QTextEdit *textEdit; QPushButton *quitButton; @@ -36,11 +41,21 @@ private: QAction *openAction; std::map blocks; + std::map objects_list; + std::map objects_list_by_address; std::set functions; InformationManager* manager; + + log4cxx::LoggerPtr logger; +public Q_SLOTS: + void switchMainPlaneToAddress(uint64_t); private Q_SLOTS: void quit(); void open(); + void switchMainPlane(int); + void showListContextMenu(const QPoint&); + void requestNewFunction(); + void renameFunction(QListWidgetItem * item); }; #endif /* INCLUDE__Mainwindow_hxx_ */