From 4a227e0523391bc026bf96c3c31d44a39cac1701 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 7 Oct 2025 14:32:48 -0400 Subject: [WARP] Format UI plugin --- plugins/warp/ui/plugin.h | 52 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'plugins/warp/ui/plugin.h') diff --git a/plugins/warp/ui/plugin.h b/plugins/warp/ui/plugin.h index 56b31711..7f406e19 100644 --- a/plugins/warp/ui/plugin.h +++ b/plugins/warp/ui/plugin.h @@ -8,48 +8,48 @@ class WarpSidebarWidget : public SidebarWidget { - Q_OBJECT - BinaryNinja::Ref m_logger; - BinaryViewRef m_data; - ViewFrame *m_currentFrame; - QWidget *m_headerWidget; + Q_OBJECT + BinaryNinja::Ref m_logger; + BinaryViewRef m_data; + ViewFrame* m_currentFrame; + QWidget* m_headerWidget; - BinaryNinja::Ref m_analysisEvent; - QAction *m_matcherAction; - bool isMatcherRunning = false; + BinaryNinja::Ref m_analysisEvent; + QAction* m_matcherAction; + bool isMatcherRunning = false; - WarpCurrentFunctionWidget *m_currentFunctionWidget; - WarpMatchedWidget *m_matchedWidget; - WarpContainersPane *m_containerWidget; + WarpCurrentFunctionWidget* m_currentFunctionWidget; + WarpMatchedWidget* m_matchedWidget; + WarpContainersPane* m_containerWidget; public: - explicit WarpSidebarWidget(BinaryViewRef data); + explicit WarpSidebarWidget(BinaryViewRef data); - ~WarpSidebarWidget() override; + ~WarpSidebarWidget() override; - QWidget *headerWidget() override { return m_headerWidget; } + QWidget* headerWidget() override { return m_headerWidget; } - void focus() override; + void focus() override; - void Update(); + void Update(); - void setMatcherActionIcon(bool running); + void setMatcherActionIcon(bool running); - void notifyViewChanged(ViewFrame *) override; + void notifyViewChanged(ViewFrame*) override; - void notifyViewLocationChanged(View *, const ViewLocation &) override; + void notifyViewLocationChanged(View*, const ViewLocation&) override; }; class WarpSidebarWidgetType : public SidebarWidgetType { public: - WarpSidebarWidgetType(); + WarpSidebarWidgetType(); - SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightContent; } - SidebarContextSensitivity contextSensitivity() const override { return PerViewTypeSidebarContext; } + SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::RightContent; } + SidebarContextSensitivity contextSensitivity() const override { return PerViewTypeSidebarContext; } - WarpSidebarWidget *createWidget(ViewFrame *viewFrame, BinaryViewRef data) override - { - return new WarpSidebarWidget(data); - } + WarpSidebarWidget* createWidget(ViewFrame* viewFrame, BinaryViewRef data) override + { + return new WarpSidebarWidget(data); + } }; -- cgit v1.3.1