X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevice.h;h=b9e17297eadd1428945648f683cd3bbcc12642aa;hp=fe91a6cbcdb797b5f6da501ca802ad14239c8d64;hb=ae2d1bc5b5aba9fcdd7fef42ef1bc9069267d6f7;hpb=921b90c0b3ae0cf44247da3d87bd7dc0612e9681 diff --git a/pv/device/device.h b/pv/device/device.h index fe91a6cb..b9e17297 100644 --- a/pv/device/device.h +++ b/pv/device/device.h @@ -31,7 +31,18 @@ class Device : public DevInst 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; + + bool is_trigger_enabled() const; + +private: + sr_dev_inst *const _sdi; }; } // device