summaryrefslogtreecommitdiff
path: root/ui/uicontext.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2025-08-06 16:41:26 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2025-08-29 15:42:09 -0400
commit5c4abf48ab4b77555a79777bc37d52c842ee149a (patch)
treea9daf8875c7ed70b55bc730de5a63621801a8019 /ui/uicontext.h
parent2303f75b080f6dd0c9a5c669a71f64ce830f5650 (diff)
Add a Pinned Cross References tab to hold pinned references
Diffstat (limited to 'ui/uicontext.h')
-rw-r--r--ui/uicontext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h
index b59db8b1..5ca5a4e5 100644
--- a/ui/uicontext.h
+++ b/ui/uicontext.h
@@ -595,13 +595,17 @@ public:
void NotifyOnViewChange(ViewFrame* frame, const QString& type);
void NotifyOnAddressChange(ViewFrame* frame, View* view, const ViewLocation& location);
void NotifyOnILViewTypeChange(ViewFrame* frame, View* view, const BinaryNinja::FunctionViewType& viewType);
- void updateCrossReferences(ViewFrame* frame, View* view, const SelectionInfoForXref& selection);
+ virtual void updateCrossReferences(ViewFrame* frame, View* view, const SelectionInfoForXref& selection);
void NotifyOnActionExecuted(UIActionHandler* handler, const QString& name, const UIActionContext& ctx, std::function<void(const UIActionContext&)>& action);
void NotifyOnActionExecutedImmutable(UIActionHandler* handler, const QString& name, const UIActionContext& ctx);
void NotifyOnContextMenuCreated(View* view, Menu& menu);
virtual void findAll(const BinaryNinja::FindParameters& params);
+ virtual void beginNavigationForCrossReference(ViewFrame* frame, const SelectionInfoForXref& selection) = 0;
+ virtual void endNavigationForCrossReference() = 0;
+ virtual bool isNavigatingForCrossReference() = 0;
+
/*!
Register an object to receive notifications of UIContext events
\param notification Object which will receive notifications