summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2019-02-05 22:01:05 -0500
committerRusty Wagner <rusty@vector35.com>2019-02-05 22:09:09 -0500
commitddab3d7e982664c3befe4645eb9a0996df926085 (patch)
tree5f983f9300db60b2a2623435d3e638c702b7a353 /binaryninjaapi.h
parent6f17fc894c2bf46bf26e27e4de1577d4e1b51392 (diff)
Minor API addition to support UI bindings
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 18645092..5f02b41b 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -3749,6 +3749,7 @@ namespace BinaryNinja
std::string GetName() const { return m_command.name; }
std::string GetDescription() const { return m_command.description; }
BNPluginCommandType GetType() const { return m_command.type; }
+ const BNPluginCommand* GetObject() const { return &m_command; }
bool IsValid(const PluginCommandContext& ctxt) const;
void Execute(const PluginCommandContext& ctxt) const;