From d9b1df165f9daad6a5229718ecd0ee50a5ef6bf1 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Mon, 16 Nov 2020 17:51:46 +0800 Subject: add support for type xref and variable xref --- ui/flowgraphwidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/flowgraphwidget.h') diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 7b6fc036..1b313c31 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -213,7 +213,7 @@ public: virtual BinaryViewRef getData() override { return m_data; } virtual uint64_t getCurrentOffset() override; virtual BNAddressRange getSelectionOffsets() override; - virtual BNAddressRange getSelectionForInfo() override; + virtual SelectionInfoForXref getSelectionForXref() override; virtual void setSelectionOffsets(BNAddressRange range) override; virtual bool navigate(uint64_t pos) override; virtual bool navigateToFunction(FunctionRef func, uint64_t pos) override; @@ -275,7 +275,7 @@ public: void showLineInNode(FlowGraphNodeRef node, size_t lineIndex); void ensureCursorVisible(); - void viewInTypesView(std::string typeName); + void viewInTypesView(std::string typeName, uint64_t offset = 0); void setInstructionHighlight(BNHighlightColor color); void setBlockHighlight(BNHighlightColor color); -- cgit v1.3.1