summaryrefslogtreecommitdiff
path: root/ui/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/action.h')
-rw-r--r--ui/action.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/action.h b/ui/action.h
index 238121ec..1b22f180 100644
--- a/ui/action.h
+++ b/ui/action.h
@@ -252,8 +252,10 @@ class BINARYNINJAUIAPI UIActionHandler
ActionPriority getPriority(const QString& name);
void bindCopyAsActions(const UITransformAction& action);
+ void bindCopyAsActions(const UITransformAction& action, const std::function<bool()>& shouldShow);
void bindPasteFromActions(const UITransformAction& action);
void bindTransformActions(const UITransformAction& encode, const UITransformAction& decode);
+ void bindTransformActions(const UITransformAction& encode, const UITransformAction& decode, const std::function<bool()>& shouldShow);
void unbindCopyAsActions();
void unbindPasteFromActions();
void unbindTransformActions();