X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevice%2Fdevinst.h;h=8932f1807f542b07242a48f6836565985a886229;hb=ae2d1bc5b5aba9fcdd7fef42ef1bc9069267d6f7;hp=fb0b7dfbb89f1ce3d96366952f8198d3bac2fed3;hpb=29efe92a807a93572b44369d2703f572778ebb15;p=pulseview.git diff --git a/pv/device/devinst.h b/pv/device/devinst.h index fb0b7df..8932f18 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; @@ -75,6 +75,13 @@ public: */ uint64_t get_sample_limit(); + virtual bool is_trigger_enabled() const; + +public: + virtual void start(); + + virtual void run(); + signals: void config_changed();