X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=samplingbar.h;h=99957f977b4ca5062bde5201c8e3d394d1d1ed90;hp=ca6a09216f8ba83ad086fb8af2960d3765477f7c;hb=6fb67b27a85f19002d43b8c8498ca7d2979401b0;hpb=d4984fe7119c2fc9bf94b13cc38cc735887e377d diff --git a/samplingbar.h b/samplingbar.h index ca6a0921..99957f97 100644 --- a/samplingbar.h +++ b/samplingbar.h @@ -21,6 +21,7 @@ #ifndef SAMPLINGBAR_H #define SAMPLINGBAR_H +#include #include class SamplingBar : public QToolBar @@ -29,6 +30,14 @@ class SamplingBar : public QToolBar public: SamplingBar(QWidget *parent); + + struct sr_dev_inst* get_selected_device() const; + +private: + void update_device_selector(); + +private: + QComboBox _device_selector; }; #endif // SAMPLINGBAR_H