X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fhwcap.h;h=27c7c1eb8014148773952957d92c9c85b91315c1;hb=7b3810db8fa333a053329ae13c0d8c081b22840f;hp=6848720133f5cc533845ef5e60a3cab61fc8eecd;hpb=f23cd1e56b09fc487df7a450fc87d905eaeed1f4;p=pulseview.git diff --git a/pv/prop/binding/hwcap.h b/pv/prop/binding/hwcap.h index 6848720..27c7c1e 100644 --- a/pv/prop/binding/hwcap.h +++ b/pv/prop/binding/hwcap.h @@ -21,6 +21,8 @@ #ifndef PULSEVIEW_PV_PROP_BINDING_HWCAP_H #define PULSEVIEW_PV_PROP_BINDING_HWCAP_H +#include + extern "C" { #include } @@ -36,6 +38,18 @@ class HwCap : public Binding public: HwCap(struct sr_dev_inst *sdi); +private: + void expose_enum(const struct sr_hwcap_option *hwo, + const std::vector > &values, + int opt); + + void bind_stropt(const struct sr_hwcap_option *hwo, int id, + int opt); + + void bind_buffer_size(const struct sr_hwcap_option *hwo); + void bind_time_base(const struct sr_hwcap_option *hwo); + void bind_vdiv(const struct sr_hwcap_option *hwo); + protected: const struct sr_dev_inst *_sdi; };