From 5c4abf48ab4b77555a79777bc37d52c842ee149a Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 6 Aug 2025 16:41:26 -0400 Subject: Add a Pinned Cross References tab to hold pinned references --- ui/uicontext.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/uicontext.h') 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& 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 -- cgit v1.3.1