From 70ce5764abacc1a7ea518f5ccef92421a1d6d04e Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Thu, 17 Dec 2020 23:27:38 -0500 Subject: Allow minigraph to work with reflection view when main view is linear. --- ui/reflectionview.h | 3 +++ ui/viewframe.h | 1 + 2 files changed, 4 insertions(+) diff --git a/ui/reflectionview.h b/ui/reflectionview.h index 667a9620..6439fbe4 100644 --- a/ui/reflectionview.h +++ b/ui/reflectionview.h @@ -10,6 +10,7 @@ class ContextMenuManager; class DisassemblyContainer; +class FlowGraphWidget; class Menu; class ViewFrame; @@ -33,6 +34,8 @@ public: ReflectionView(ViewFrame* frame, BinaryViewRef data); ~ReflectionView(); + FlowGraphWidget* getFlowGraphWidget(); + void toggleILSync(); void toggleLocationSync(); diff --git a/ui/viewframe.h b/ui/viewframe.h index b4d3413e..b7d28fab 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -241,6 +241,7 @@ public: virtual ~ViewFrame(); FileContext* getFileContext() const { return m_context; } + DockHandler* getDockHandler() const { return m_docks; } QString getTabName(); QString getShortFileName(); -- cgit v1.3.1