X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Ftoolbars%2Fsamplingbar.h;h=1f40d0452ff6ca8d7265cc30703eab46bcf388d4;hb=4206fe26e6b3f6439e382a072f5ff67c009f412a;hp=a61a949eabc0ef8538d9c2ac0fa5343f81cfccf7;hpb=9f3d12f3573e55f7031510e43bc1583bc7fe72ee;p=pulseview.git diff --git a/pv/toolbars/samplingbar.h b/pv/toolbars/samplingbar.h index a61a949e..1f40d045 100644 --- a/pv/toolbars/samplingbar.h +++ b/pv/toolbars/samplingbar.h @@ -30,6 +30,8 @@ #include #include +#include + struct st_dev_inst; class QAction; @@ -54,9 +56,11 @@ public: uint64_t get_record_length() const; - void set_sampling(bool sampling); + void set_capture_state(pv::SigSession::capture_state state); signals: + void device_selected(); + void run_stop(); private: @@ -81,6 +85,7 @@ private: QDoubleSpinBox _sample_rate_value; QAction *_sample_rate_value_action; + QIcon _icon_red; QIcon _icon_green; QIcon _icon_grey; QToolButton _run_stop_button;