summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-12-17 23:27:38 -0500
committerBrian Potchik <brian@vector35.com>2020-12-17 23:27:38 -0500
commit70ce5764abacc1a7ea518f5ccef92421a1d6d04e (patch)
tree274a3093831be8a5d3fe750aa88a6f3ce52912f4
parentec82500844e855a52c6954dcb49cb915f5db0351 (diff)
Allow minigraph to work with reflection view when main view is linear.
-rw-r--r--ui/reflectionview.h3
-rw-r--r--ui/viewframe.h1
2 files changed, 4 insertions, 0 deletions
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();