X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=2e4c6bbdcd5e5d00f921acdb741016fb2a581f37;hp=485b7b6df18243e8a7aa2085290639b86e6268e5;hb=101e7a9b40cc97fcd94aca7a1bed086b1f56f269;hpb=0f8f8c180b32413177f3940ea6f216d1cbadf09b diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 485b7b6..2e4c6bb 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -74,6 +74,8 @@ public: std::shared_ptr add_view(const QString &title, view::ViewType type, Session &session); + std::shared_ptr add_session(); + private: void setup_ui(); @@ -98,13 +100,11 @@ private Q_SLOTS: private: DeviceManager &device_manager_; - Session session_; + std::vector< std::shared_ptr > sessions_; std::map< std::shared_ptr, std::shared_ptr > view_docks_; - std::string open_file_name_, open_file_format_; - QAction *const action_view_sticky_scrolling_; QAction *const action_view_coloured_bg_; QAction *const action_about_;