void set_main_bar(std::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);
std::thread sampling_thread_;
bool out_of_memory_;
+ bool data_saved_;
Q_SIGNALS:
void capture_state_changed(int state);
void add_view(const QString &title, views::ViewType type,
Session *session);
+
+public Q_SLOTS:
+ void on_data_saved();
};
} // namespace pv