From 1c076c0802639dcd3d64a251fb12abb9583b3ee9 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Sat, 14 Feb 2015 02:18:31 -0500 Subject: Add menu items using transform registrations, hook up copy as and paste from --- binaryninjaapi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 0c226b50..712e5cc8 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -525,7 +525,7 @@ namespace BinaryNinja protected: BNTransform* m_xform; BNTransformType m_typeForRegister; - std::string m_nameForRegister, m_longNameForRegister; + std::string m_nameForRegister, m_longNameForRegister, m_groupForRegister; Transform(BNTransform* xform); @@ -538,7 +538,7 @@ namespace BinaryNinja static std::vector EncryptionKeyAndIVParameters(size_t fixedKeyLength = 0, size_t fixedIVLength = 0); public: - Transform(BNTransformType type, const std::string& name, const std::string& longName); + Transform(BNTransformType type, const std::string& name, const std::string& longName, const std::string& group); static void Register(Transform* xform); static Ref GetByName(const std::string& name); @@ -547,6 +547,7 @@ namespace BinaryNinja BNTransformType GetType() const; std::string GetName() const; std::string GetLongName() const; + std::string GetGroup() const; virtual std::vector GetParameters() const; -- cgit v1.3.1