diff options
Diffstat (limited to 'ui/uicontext.h')
| -rw-r--r-- | ui/uicontext.h | 6 |
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 |
