diff options
| author | Brian Potchik <brian@vector35.com> | 2022-08-03 13:24:28 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2022-08-03 13:24:28 -0400 |
| commit | bad3587b2bf2de021ab8dbe7779630673c3bd3c7 (patch) | |
| tree | 7c96996d6ddc768ed10ce90c3c2f9d413657e504 /ui | |
| parent | 522d8eb648bcf0f58d17d421e4f5967b251b0b70 (diff) | |
Add a recent file options history for use in the 'Open with Options' UI.
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/options.h | 2 | ||||
| -rw-r--r-- | ui/settingsview.h | 2 |
2 files changed, 4 insertions, 0 deletions
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<std::tuple<std::string, size_t, std::string, uint64_t, uint64_t, std::string>> 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 = ""); |
