]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.hpp
MainWindow: Improve view removal
[pulseview.git] / pv / mainwindow.hpp
index f11ed5db5834b5867a7d89275f8aeabf36dc6dfc..93945d189f11c25f60361dfbce6a808d5280139b 100644 (file)
@@ -79,6 +79,8 @@ public:
        std::shared_ptr<views::ViewBase> add_view(const QString &title,
                views::ViewType type, Session &session);
 
+       void remove_view(std::shared_ptr<views::ViewBase> view);
+
        std::shared_ptr<Session> add_session();
 
        void remove_session(std::shared_ptr<Session> session);