X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevinst.h;fp=pv%2Fdevice%2Fdevinst.h;h=fb0b7dfbb89f1ce3d96366952f8198d3bac2fed3;hp=9098027eb84e0674da978a65c38e67df3485c36f;hb=29efe92a807a93572b44369d2703f572778ebb15;hpb=996b7c9da9b5cb56413e829217e1e7d7d7d520da;ds=sidebyside diff --git a/pv/device/devinst.h b/pv/device/devinst.h index 9098027e..fb0b7dfb 100644 --- a/pv/device/devinst.h +++ b/pv/device/devinst.h @@ -46,10 +46,10 @@ class DevInst : public QObject Q_OBJECT protected: - DevInst(sr_dev_inst *sdi); + DevInst(); public: - sr_dev_inst* dev_inst() const; + virtual sr_dev_inst* dev_inst() const = 0; void use(SigSession *owner); @@ -79,7 +79,6 @@ signals: void config_changed(); protected: - sr_dev_inst *const _sdi; SigSession *_owner; };