diff options
| author | Xusheng <xusheng@vector35.com> | 2021-05-04 16:22:57 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-05-05 13:31:21 +0800 |
| commit | 447dc5e66e7a5bdff9dbed299b46e229567a64ef (patch) | |
| tree | c6f16c3f2de037c396d7bde0e5c4f21addde2db5 /ui/createstructdialog.h | |
| parent | b3f6062c8c170d17582d04775ffccbf17f541a3f (diff) | |
Parse a BinaryView into CreateStructDialog
Diffstat (limited to 'ui/createstructdialog.h')
| -rw-r--r-- | ui/createstructdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/createstructdialog.h b/ui/createstructdialog.h index 096adefb..ae044bdf 100644 --- a/ui/createstructdialog.h +++ b/ui/createstructdialog.h @@ -12,11 +12,12 @@ class BINARYNINJAUIAPI CreateStructDialog: public QDialog QLineEdit* m_name; QLineEdit* m_size; + BinaryViewRef m_view; BinaryNinja::QualifiedName m_resultName; uint64_t m_resultSize; public: - CreateStructDialog(QWidget* parent, const std::string& name); + CreateStructDialog(QWidget* parent, BinaryViewRef view, const std::string& name); BinaryNinja::QualifiedName getName() { return m_resultName; } uint64_t getSize() { return m_resultSize; } |
