}
}
-void MainWindow::export_file(shared_ptr<OutputFormat> format)
+void MainWindow::export_file(shared_ptr<OutputFormat> format,
+ bool selection_only)
{
using pv::dialogs::StoreProgress;
+ (void)selection_only;
+
// Stop any currently running capture session
session_.stop_capture();
void select_device(std::shared_ptr<devices::Device> device);
public Q_SLOTS:
- void export_file(std::shared_ptr<sigrok::OutputFormat> format);
+ void export_file(std::shared_ptr<sigrok::OutputFormat> format,
+ bool selection_only = false);
void import_file(std::shared_ptr<sigrok::InputFormat> format);
private: