- InputFile(const std::shared_ptr<sigrok::Context> &context,
- const std::string &file_name,
- std::shared_ptr<sigrok::InputFormat> format,
- const std::map<std::string, Glib::VariantBase> &options);
+ InputFile(const shared_ptr<sigrok::Context> &context,
+ const string &file_name,
+ shared_ptr<sigrok::InputFormat> format,
+ const map<string, Glib::VariantBase> &options);
+
+ /**
+ * Constructor that loads a file using the metadata saved by
+ * save_meta_to_settings() before.
+ */
+ InputFile(const shared_ptr<sigrok::Context> &context,
+ QSettings &settings);
+
+ void save_meta_to_settings(QSettings &settings);
+
+ void open();