summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-03-06 15:31:41 -0500
committerJosh Ferrell <josh@vector35.com>2024-03-06 15:31:41 -0500
commit47894a1ce20090849ad304c68e6c0b889665eda3 (patch)
treed65843d17487800db3e24babb3d1a78233b40e2b
parent1ed6bfae3e2687845bb28205f2ffb6fba0a2afb9 (diff)
Allow editing multiple external locations at once
-rw-r--r--ui/externallocationdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/externallocationdialog.h b/ui/externallocationdialog.h
index 13a8d2ad..9192e4e6 100644
--- a/ui/externallocationdialog.h
+++ b/ui/externallocationdialog.h
@@ -15,15 +15,15 @@ class BINARYNINJAUIAPI ExternalLocationDialog : public QDialog
QLineEdit* m_sourceSymbolField;
QComboBox* m_libraryField;
QLineEdit* m_targetSymbolField;
- QLineEdit* m_targetaddressField;
+ QLineEdit* m_targetAddressField;
BinaryViewRef m_data;
- ExternalLocationRef m_location;
+ std::vector<ExternalLocationRef> m_locations;
void Submit();
void updateForm();
public:
- ExternalLocationDialog(QWidget* parent, BinaryViewRef data, ExternalLocationRef loc = nullptr, ExternalLibraryRef lib = nullptr, std::optional<std::string> rawSym = {});
+ ExternalLocationDialog(QWidget* parent, BinaryViewRef data, const std::vector<ExternalLocationRef>& locs = {}, ExternalLibraryRef lib = nullptr, std::optional<std::string> rawSym = {});
};