X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=cfdbaaa152e21ccb124d261e477db4604c30c70c;hp=ba0d8b4944529138ff78fbf2e9b995133c677dab;hb=5514e0b76ec9af2fa67abebe77cfe26052f2326f;hpb=bb5959013f2daeff2c0639e868d6406500dc17fb diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index ba0d8b4..cfdbaaa 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -3,11 +3,13 @@ #include #include +#include +#include #include #include #include -#include +#include #include #include @@ -17,7 +19,8 @@ class Function; class InformationManager; class FunctionWidget; class BasicBlockWidget; -class ScriptingDock; +class FridaDock; +class Interpreter; class Mainwindow : public QMainWindow { Q_OBJECT @@ -37,19 +40,22 @@ private: QMenu *fileMenu; QTabWidget * tabwidget; - QListWidget * listWidget; + QTreeWidget * listWidget; QStackedWidget * stackedWidget; QDockWidget * dockWidget; - ScriptingDock * scripting; + FridaDock * fdock; QAction *exitAction; QAction *openAction; + QAction *loadAction; QAction *saveAction; std::map blocks; std::map functions; - std::map objects_list; - std::map objects_list_by_address; + std::map objects_list; + std::map objects_list_by_address; + std::vector group_list; + std::map interpreter; InformationManager* manager; log4cxx::LoggerPtr logger; @@ -57,11 +63,14 @@ private: private Q_SLOTS: void quit(); void open(); + void load(); void save(); - void switchMainPlane(int); + void switchMainPlane(QTreeWidgetItem* item); void showListContextMenu(const QPoint&); void requestNewFunction(); + void requestNewGroup(); void renameFunction(Function* function); + void renameGroup(QTreeWidgetItem* item); }; #endif /* INCLUDE__Mainwindow_hxx_ */