X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fsamplingbar.h;h=8c6511a8f33d639b008ee1a291d09f9c5dc80505;hb=cf47ef78b6366286f6f32673ffabe0595591418d;hp=170379e0ce37c4b957f7ad75f239a96cd9abc282;hpb=51e77110d4316fd0106f8306f5e1f0523c5bf7d7;p=pulseview.git diff --git a/pv/samplingbar.h b/pv/samplingbar.h index 170379e0..8c6511a8 100644 --- a/pv/samplingbar.h +++ b/pv/samplingbar.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SAMPLINGBAR_H -#define SAMPLINGBAR_H +#ifndef PULSEVIEW_PV_SAMPLINGBAR_H +#define PULSEVIEW_PV_SAMPLINGBAR_H #include @@ -46,6 +46,8 @@ public: uint64_t get_record_length() const; uint64_t get_sample_rate() const; + void set_sampling(bool sampling); + signals: void run_stop(); @@ -71,4 +73,4 @@ private: } // namespace pv -#endif // SAMPLINGBAR_H +#endif // PULSEVIEW_PV_SAMPLINGBAR_H