X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fsamplingbar.h;h=8d646c5d55b5104eddcccb2cfcf6d6a1a1d82d25;hb=18203d86e200131f50e9830c4f16a9edba96d669;hp=ade457e5cc56db0a73f0004c63b57a13ff05754e;hpb=ef4d020135822a8acb5a19475bcd7dc5c841fa04;p=pulseview.git diff --git a/pv/samplingbar.h b/pv/samplingbar.h index ade457e..8d646c5 100644 --- a/pv/samplingbar.h +++ b/pv/samplingbar.h @@ -23,11 +23,14 @@ #include +#include + #include #include #include #include +struct st_dev_inst; class QAction; namespace pv { @@ -43,7 +46,10 @@ private: public: SamplingBar(QWidget *parent); + void set_device_list(const std::list &devices); + struct sr_dev_inst* get_selected_device() const; + uint64_t get_record_length() const; void set_sampling(bool sampling); @@ -52,7 +58,6 @@ signals: void run_stop(); private: - void update_device_selector(); void update_sample_rate_selector(); void update_sample_rate_selector_value(); void commit_sample_rate();