From 09c85a868bad7e6e1b1b117eefc2c2aa9aaef4be Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 16 Feb 2022 17:54:15 -0500 Subject: Clang+TypeParser APIs --- ui/createtypedialog.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/createtypedialog.h b/ui/createtypedialog.h index 0df1c613..a2bd6e2c 100644 --- a/ui/createtypedialog.h +++ b/ui/createtypedialog.h @@ -2,6 +2,7 @@ #include #include +#include #include "binaryninjaapi.h" #include "dialogtextedit.h" #include "uicontext.h" @@ -10,16 +11,18 @@ class BINARYNINJAUIAPI CreateTypeDialog : public QDialog { Q_OBJECT + QLineEdit* m_arguments; DialogTextEdit* m_code; + QTextEdit* m_errors; BinaryViewRef m_data; - std::map m_results; + std::vector m_results; std::set m_typesAllowRedefinition; public: CreateTypeDialog(QWidget* parent, BinaryViewRef data, const QString& title, const QString& definition, const std::set& typesAllowRedefinition = {}); - std::map getResults() { return m_results; } + std::vector getResults() { return m_results; } private Q_SLOTS: void createType(); -- cgit v1.3.1