diff options
| author | kat <kat@vector35.com> | 2024-03-04 07:13:03 -0500 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-03-21 10:21:40 -0400 |
| commit | b0252988314ab24015a932782c08494ec2552fac (patch) | |
| tree | 7a170d267e478fa14049a2bc97e43e973725ffa8 /ui/typebrowser.h | |
| parent | 37cce9b8863c199dc242fb949dadc4c530c081b5 (diff) | |
Add copy actions to TypeBrowserView
Diffstat (limited to 'ui/typebrowser.h')
| -rw-r--r-- | ui/typebrowser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/typebrowser.h b/ui/typebrowser.h index c1d554ad..05f2338a 100644 --- a/ui/typebrowser.h +++ b/ui/typebrowser.h @@ -408,6 +408,7 @@ class BINARYNINJAUIAPI TypeBrowserView : public QFrame, public View, public Filt QTextEdit* m_debugText; void updateInTransaction(std::function<bool()> transaction); + std::string dumpTypeDefinition(BinaryNinja::TypeContainer container, TypeRef type, std::string name); public: TypeBrowserView(BinaryViewRef data, TypeBrowserContainer* container); @@ -527,6 +528,10 @@ public: void createNewUnion(); bool canRenameTypes(); void renameTypes(); + bool canCopyTypeNames(); + void copyTypeNames(); + bool canCopyTypeDefinitions(); + void copyTypeDefinitions(); bool canDeleteTypes(); void deleteTypes(); bool canChangeTypes(); |
