X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=7084e2fec3c6995adb2256d7d208b4db4b6c08f2;hp=bb2a90e2a4fd15e19933d7b48f0f6b9606242e6e;hb=083a8802e608a69d622ff5cda5d21ff61e289a85;hpb=74555b2a9a524c568772bcea1332019a911bf86f diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index bb2a90e..7084e2f 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -22,8 +22,10 @@ class Mainwindow : public QMainWindow { Q_OBJECT public: Mainwindow(InformationManager* mgr); + private: void addFunction(Function* fun); + void setGlobalHotkeys(); QTextEdit *textEdit; QPushButton *quitButton; @@ -39,13 +41,22 @@ 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); + void requestNewFunctionByAddress(uint64_t address); private Q_SLOTS: void quit(); void open(); + void switchMainPlane(int); + void showListContextMenu(const QPoint&); + void requestNewFunction(); + void renameFunction(QListWidgetItem * item); }; #endif /* INCLUDE__Mainwindow_hxx_ */