X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Ftoolbars%2Fsamplingbar.h;h=1f40d0452ff6ca8d7265cc30703eab46bcf388d4;hb=2b49eeb02d92b4744f8ebfcfd38ef27384cdd751;hp=d24534bef185867883ec9657b5360011b1bafebb;hpb=139fef92964a91cbdd1f7c4c280485c0fb02f9c7;p=pulseview.git diff --git a/pv/toolbars/samplingbar.h b/pv/toolbars/samplingbar.h index d24534b..1f40d04 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,7 +56,7 @@ 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(); @@ -83,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;