#include <QMessageBox>
-#include "storeprogress.h"
+#include "storeprogress.hpp"
+
+using std::map;
+using std::string;
+
+using Glib::VariantBase;
namespace pv {
namespace dialogs {
StoreProgress::StoreProgress(const QString &file_name,
- const SigSession &session, QWidget *parent) :
+ const std::shared_ptr<sigrok::OutputFormat> output_format,
+ const map<string, VariantBase> &options,
+ const Session &session, QWidget *parent) :
QProgressDialog(tr("Saving..."), tr("Cancel"), 0, 0, parent),
- session_(file_name.toStdString(), session)
+ session_(file_name.toStdString(), output_format, options, session)
{
connect(&session_, SIGNAL(progress_updated()),
this, SLOT(on_progress_updated()));