From bad3587b2bf2de021ab8dbe7779630673c3bd3c7 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Wed, 3 Aug 2022 13:24:28 -0400 Subject: Add a recent file options history for use in the 'Open with Options' UI. --- ui/options.h | 2 ++ ui/settingsview.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ui/options.h b/ui/options.h index c0b9d77e..b4446741 100644 --- a/ui/options.h +++ b/ui/options.h @@ -32,6 +32,8 @@ class BINARYNINJAUIAPI OptionsDialog : public QDialog BinaryViewRef m_rawData = nullptr; std::vector> m_objects; + const std::string m_oldFlag = "old:"; + public: OptionsDialog(QWidget* parent, const QString& name); virtual ~OptionsDialog(); diff --git a/ui/settingsview.h b/ui/settingsview.h index 3a7d78f6..a69a2f54 100644 --- a/ui/settingsview.h +++ b/ui/settingsview.h @@ -380,6 +380,8 @@ class BINARYNINJAUIAPI SettingsView : public QWidget SettingsView(QWidget* parent, SettingsRef settings); ~SettingsView(); + SettingsRef getSettings() { return m_settings; } + void init(std::string schema, bool uiScopeSelection); void refreshCurrentScope(); void setData(BinaryViewRef view, const QString& name = ""); -- cgit v1.3.1