diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-04-12 14:54:33 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2019-04-12 14:54:33 -0400 |
| commit | 6dc73b519845a361327f5923ca30552d48d21201 (patch) | |
| tree | 793672aebf30e0a9e67075bc9cbed4c5ad6b747b /ui/assembledialog.h | |
| parent | 8f7901c4709826acc0e53aeea4442b1fb9a25876 (diff) | |
Add multiselect and keyboard navigation to graph view
Diffstat (limited to 'ui/assembledialog.h')
| -rw-r--r-- | ui/assembledialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/assembledialog.h b/ui/assembledialog.h index 8d1f1c45..7db619a2 100644 --- a/ui/assembledialog.h +++ b/ui/assembledialog.h @@ -12,16 +12,20 @@ class BINARYNINJAUIAPI AssembleDialog: public QDialog BinaryViewRef m_view; uint64_t m_addr; + size_t m_length; QComboBox* m_archSelection; + ArchitectureRef m_fixedArch; DialogTextEdit* m_code; BinaryNinja::DataBuffer m_bytes; bool m_setDefault; public: - AssembleDialog(QWidget* parent, BinaryViewRef data, uint64_t addr, ArchitectureRef prefArch = NULL, const QString& code = ""); + AssembleDialog(QWidget* parent, BinaryViewRef data, uint64_t addr, ArchitectureRef prefArch = NULL, + const QString& code = "", bool fixedArch = false); ArchitectureRef getArchitecture(); const BinaryNinja::DataBuffer& getBytes() const { return m_bytes; } + void setLength(size_t len) { m_length = len; } private Q_SLOTS: void saveOnFinish(int result); |
