From d707b4012c516e1aa15e0cc4b0b01ebdd3a7d184 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Thu, 21 Nov 2024 15:38:49 -0500 Subject: Remove DockHandler and DockWidget support. --- ui/viewframe.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'ui/viewframe.h') diff --git a/ui/viewframe.h b/ui/viewframe.h index 234e01c9..520e3f77 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -97,7 +97,6 @@ class BINARYNINJAUIAPI HistoryEntry : public BinaryNinja::RefCountObject class AssembleDialog; class ClickableStateLabel; class CompileDialog; -class DockHandler; class FeatureMap; class StatusBarWidget; class ViewNavigationMode; @@ -382,7 +381,7 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget Q_OBJECT private: - QWidget* createView(const QString& typeName, ViewType* type, BinaryViewRef data, bool createDynamicWidgets = true); + QWidget* createView(const QString& typeName, ViewType* type, BinaryViewRef data); BinaryNinja::Ref getHistoryEntry(); ViewFrame* searchForOtherPane(const std::function&)>& enumerator); @@ -392,7 +391,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget QWidget* m_view = nullptr; QWidget* m_viewContainer; QVBoxLayout* m_viewLayout; - std::map>> m_extViewCache; std::map m_viewCache; std::list> m_back, m_forward; bool m_graphViewPreferred = false; @@ -421,15 +419,13 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool tryMainSymbolsNavigation(); public: - explicit ViewFrame(QWidget* parent, FileContext* file, const QString& type, bool createDynamicWidgets = false); + explicit ViewFrame(QWidget* parent, FileContext* file, const QString& type); virtual ~ViewFrame(); FileContext* getFileContext() const { return m_context; } bool areFileContentsLocked(bool showToolTip = false); void setFileContentsLocked(bool enable); - DockHandler* getDockHandler(); - QString getTabName(); QString getShortFileName(); std::vector getAvailableTypes() const; @@ -451,8 +447,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool setViewType(const QString& viewType); void focus(); - QWidget* getExtendedView(const QString& name, bool create = false); - Sidebar* getSidebar(); template @@ -484,7 +478,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool isAboutToClose() { return m_aboutToClose; } bool closeRequest(); void closing(); - void clearViewLocation(); void updateFonts(); void updateTheme(); -- cgit v1.3.1