X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=91a0bc5d69d971076f8191b01f9d53316864acfc;hp=1ab3c589e615bc1251ddf351d924634f92a0b6d8;hb=7cd2b5f35bbc29136173acbc4c6d9b5f4e8f7606;hpb=219b3ab99786d31cfbf010b931293c57daedacc9 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 1ab3c589..91a0bc5d 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -30,6 +30,7 @@ #include #include "session.hpp" +#include "view/viewwidget.hpp" struct srd_decoder; @@ -102,6 +103,9 @@ public: std::shared_ptr get_active_view() const; + std::shared_ptr add_view(const QString &title, + view::ViewType type, Session &session); + void run_stop(); void select_device(std::shared_ptr device);