X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.hxx;h=cfdbaaa152e21ccb124d261e477db4604c30c70c;hp=3a2e10d3587de8980c0db8a843f3eaf5f7fc9be4;hb=5514e0b76ec9af2fa67abebe77cfe26052f2326f;hpb=2b057d0cd0501832d789b31551192e7e4202f4ca diff --git a/src/gui/Mainwindow.hxx b/src/gui/Mainwindow.hxx index 3a2e10d..cfdbaaa 100644 --- a/src/gui/Mainwindow.hxx +++ b/src/gui/Mainwindow.hxx @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -18,7 +19,8 @@ class Function; class InformationManager; class FunctionWidget; class BasicBlockWidget; -class ScriptingDock; +class FridaDock; +class Interpreter; class Mainwindow : public QMainWindow { Q_OBJECT @@ -41,10 +43,11 @@ private: QTreeWidget * listWidget; QStackedWidget * stackedWidget; QDockWidget * dockWidget; - ScriptingDock * scripting; + FridaDock * fdock; 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,6 +63,7 @@ private: private Q_SLOTS: void quit(); void open(); + void load(); void save(); void switchMainPlane(QTreeWidgetItem* item); void showListContextMenu(const QPoint&);