X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevinst.h;fp=pv%2Fdevice%2Fdevinst.h;h=8932f1807f542b07242a48f6836565985a886229;hp=5ee387477a7e0119ddb7331bc4271496687c916a;hb=ae2d1bc5b5aba9fcdd7fef42ef1bc9069267d6f7;hpb=2445d0b3d64ab051d8a686506910224f9f4e45c7 diff --git a/pv/device/devinst.h b/pv/device/devinst.h index 5ee38747..8932f180 100644 --- a/pv/device/devinst.h +++ b/pv/device/devinst.h @@ -51,9 +51,9 @@ protected: public: virtual sr_dev_inst* dev_inst() const = 0; - void use(SigSession *owner); + virtual void use(SigSession *owner) throw(QString); - void release(); + virtual void release(); SigSession* owner() const; @@ -77,6 +77,11 @@ public: virtual bool is_trigger_enabled() const; +public: + virtual void start(); + + virtual void run(); + signals: void config_changed();