X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevice%2Fdevice.h;h=0a908a7962d451034d732cddd88e3abbb6809c93;hb=87b79835014a386fb51b52bc993dbb693bd27197;hp=2abacbc46b692d60df4f25eacfbe49c6dc99bb97;hpb=29efe92a807a93572b44369d2703f572778ebb15;p=pulseview.git diff --git a/pv/device/device.h b/pv/device/device.h index 2abacbc..0a908a7 100644 --- a/pv/device/device.h +++ b/pv/device/device.h @@ -21,6 +21,9 @@ #ifndef PULSEVIEW_PV_DEVICE_DEVICE_H #define PULSEVIEW_PV_DEVICE_DEVICE_H +#include +#include + #include "devinst.h" namespace pv { @@ -33,8 +36,14 @@ public: sr_dev_inst* dev_inst() const; + void use(SigSession *owner) throw(QString); + + void release(); + std::string format_device_title() const; + std::map get_device_info() const; + private: sr_dev_inst *const _sdi; };