+ shared_ptr<devices::Device> device() const;
+
+ QString name() const;
+
+ void set_name(QString name);
+
+ const list< shared_ptr<views::ViewBase> > views() const;
+
+ shared_ptr<views::ViewBase> main_view() const;
+
+ shared_ptr<pv::toolbars::MainBar> main_bar() const;
+
+ void set_main_bar(shared_ptr<pv::toolbars::MainBar> main_bar);
+
+ /**
+ * Indicates whether the captured data was saved to disk already or not
+ */
+ bool data_saved() const;
+
+ void save_settings(QSettings &settings) const;
+
+ void restore_settings(QSettings &settings);
+
+ /**
+ * Attempts to set device instance, may fall back to demo if needed
+ */
+ void select_device(shared_ptr<devices::Device> device);