+ struct sr_dev_inst* get_device() const;
+
+ /**
+ * Sets device instance that will be used in the next capture session.
+ */
+ void set_device(struct sr_dev_inst *sdi);
+
+ void release_device(struct sr_dev_inst *sdi);
+
+ void load_file(const std::string &name,
+ boost::function<void (const QString)> error_handler);