diff options
Diffstat (limited to 'ui/externallocationdialog.h')
| -rw-r--r-- | ui/externallocationdialog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ui/externallocationdialog.h b/ui/externallocationdialog.h new file mode 100644 index 00000000..c86eea70 --- /dev/null +++ b/ui/externallocationdialog.h @@ -0,0 +1,29 @@ +#pragma once + +#include <QtWidgets/QComboBox> +#include <QtWidgets/QDialog> +#include <QtWidgets/QLineEdit> +#include <QtWidgets/QPushButton> +#include "uitypes.h" + + +class BINARYNINJAUIAPI ExternalLocationDialog : public QDialog +{ + QPushButton* m_acceptButton; + QPushButton* m_cancelButton; + + QLineEdit* m_internalSymbolField; + QComboBox* m_libraryField; + QLineEdit* m_externalSymbolField; + QLineEdit* m_addressField; + + BinaryViewRef m_data; + ExternalLocationRef m_location; + + void Submit(); + + void updateForm(); + +public: + ExternalLocationDialog(QWidget* parent, BinaryViewRef data, ExternalLocationRef loc = nullptr, ExternalLibraryRef lib = nullptr, std::optional<std::string> rawSym = {}); +}; |
