#ifndef PULSEVIEW_PV_DEVICE_DEVICE_H
#define PULSEVIEW_PV_DEVICE_DEVICE_H
+#include <map>
+#include <string>
+
#include "devinst.h"
namespace pv {
public:
Device(sr_dev_inst *dev_inst);
+ sr_dev_inst* dev_inst() const;
+
+ void use(SigSession *owner) throw(QString);
+
+ void release();
+
std::string format_device_title() const;
+
+ std::map<std::string, std::string> get_device_info() const;
+
+private:
+ sr_dev_inst *const _sdi;
};
} // device