X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=ddad67050f03a5a78317ae00fd00d17750ad53c0;hp=3cd269f4ff50c162e6868cddd6741a1f9fb91115;hb=f4e57597347e47a4ea58fbdc7b0a22e07f1c0ede;hpb=33e1afbe17cfa91c24adb775aba923f07fbeed01 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 3cd269f4..ddad6705 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -28,7 +28,7 @@ #include #include "session.hpp" -#include "view/viewwidget.hpp" +#include "views/viewbase.hpp" struct srd_decoder; @@ -72,10 +72,10 @@ public: QAction* action_view_coloured_bg() const; QAction* action_about() const; - std::shared_ptr get_active_view() const; + std::shared_ptr get_active_view() const; - std::shared_ptr add_view(const QString &title, - view::ViewType type, Session &session); + std::shared_ptr add_view(const QString &title, + views::ViewType type, Session &session); std::shared_ptr add_session(); @@ -96,7 +96,7 @@ private: virtual bool restoreState(const QByteArray &state, int version = 0); private Q_SLOTS: - void on_add_view(const QString &title, view::ViewType type, + void on_add_view(const QString &title, views::ViewType type, Session *session); void on_focus_changed(); @@ -118,7 +118,7 @@ private: std::list< std::shared_ptr > sessions_; std::map< std::shared_ptr, - std::shared_ptr > view_docks_; + std::shared_ptr > view_docks_; QAction *const action_view_sticky_scrolling_; QAction *const action_view_coloured_bg_;