From ddab3d7e982664c3befe4645eb9a0996df926085 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 5 Feb 2019 22:01:05 -0500 Subject: Minor API addition to support UI bindings --- binaryninjaapi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'binaryninjaapi.h') 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; -- cgit v1.3.1