+ 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);
+
+ capture_state get_capture_state() const;
+
+ void start_capture(uint64_t record_length,
+ boost::function<void (const QString)> error_handler);
+
+ void stop_capture();
+
+ std::vector< boost::shared_ptr<view::Signal> >
+ get_signals() const;
+
+ boost::shared_ptr<data::Logic> get_data();
+
+ bool add_decoder(srd_decoder *const dec,
+ std::map<const srd_probe*,
+ boost::shared_ptr<view::LogicSignal> > probes,
+ GHashTable *options);
+
+ std::vector< boost::shared_ptr<view::DecodeSignal> >
+ get_decode_signals() const;