X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=0962efd7e1a554798efa6d2e30346a527113d50e;hp=14d41b3fa6ebe46ae8ea035f0ea739c53927d037;hb=64cdefa8eebaedef3a852b061d4df431b7e6c654;hpb=8ba5b5b647e39ce4b337b6b56a246f293c511954 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 14d41b3..0962efd 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -25,6 +25,7 @@ public: private: void addFunction(Function* fun); + void setGlobalHotkeys(); QTextEdit *textEdit; QPushButton *quitButton; @@ -38,6 +39,7 @@ private: QAction *exitAction; QAction *openAction; + QAction *saveAction; std::map blocks; std::map objects_list; @@ -48,12 +50,15 @@ private: log4cxx::LoggerPtr logger; public Q_SLOTS: void switchMainPlaneToAddress(uint64_t); + void requestNewFunctionByAddress(uint64_t address); private Q_SLOTS: void quit(); void open(); + void save(); void switchMainPlane(int); void showListContextMenu(const QPoint&); void requestNewFunction(); + void renameFunction(QListWidgetItem * item); }; #endif /* INCLUDE__Mainwindow_hxx_ */