diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-02-14 02:18:31 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-02-14 02:18:31 -0500 |
| commit | 1c076c0802639dcd3d64a251fb12abb9583b3ee9 (patch) | |
| tree | ac4cc89715f268591a609f4fb3daf477fb557580 /binaryninjaapi.h | |
| parent | 8a839248af8084c90ad14fabb5d5f7863ac146c0 (diff) | |
Add menu items using transform registrations, hook up copy as and paste from
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 5 |
1 files changed, 3 insertions, 2 deletions
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<TransformParameter> 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<Transform> 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<TransformParameter> GetParameters() const; |
