X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=71cad57817a0554ad832b8710e0dc39dbe8fcc91;hp=6541ccc6dff181e2cf386ed75657f5c0ecf11d1c;hb=27a3f09baf61c7f9b8c07630d34df75ddfdd476b;hpb=8ad61f4071a69445a6917d214b6592878447ddb1 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 6541ccc6..71cad578 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -70,8 +70,6 @@ private: public: explicit MainWindow(DeviceManager &device_manager, - string open_file_name = string(), - string open_file_format = string(), QWidget *parent = nullptr); ~MainWindow(); @@ -87,11 +85,17 @@ public: void remove_session(shared_ptr session); + void add_session_with_file(string open_file_name, string open_file_format); + + void add_default_session(); + + void save_sessions(); + void restore_sessions(); + private: void setup_ui(); void save_ui_settings(); - void restore_ui_settings(); shared_ptr get_tab_session(int index) const;