X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=8b46404b3a8331330177795188dbfb3205fb74b3;hp=7e9cb3a975b8fc3c92102b098975a8794272724d;hb=adb0e762792c23674633b8513f4106b82aa38d15;hpb=acc34914344962b8af7656c54cd442dad1341c92 diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 7e9cb3a..8b46404 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -19,6 +20,7 @@ class InformationManager; class FunctionWidget; class BasicBlockWidget; class ScriptingDock; +class Interpreter; class Mainwindow : public QMainWindow { Q_OBJECT @@ -45,6 +47,7 @@ private: QAction *exitAction; QAction *openAction; + QAction *loadAction; QAction *saveAction; std::map blocks; @@ -52,6 +55,7 @@ private: std::map objects_list; std::map objects_list_by_address; std::vector group_list; + std::map interpreter; InformationManager* manager; log4cxx::LoggerPtr logger; @@ -59,12 +63,14 @@ private: private Q_SLOTS: void quit(); void open(); + void load(); void save(); void switchMainPlane(QTreeWidgetItem* item); void showListContextMenu(const QPoint&); void requestNewFunction(); void requestNewGroup(); void renameFunction(Function* function); + void renameGroup(QTreeWidgetItem* item); }; #endif /* INCLUDE__Mainwindow_hxx_ */