X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fhwcap.h;h=1c6a7474c50d1a5b579a7f17a74c7ee1af38d602;hp=27c7c1eb8014148773952957d92c9c85b91315c1;hb=10b1be9216fa6235d370707750dd761d786347f7;hpb=c0be28da85485b7e9f0351da563835d0a321641e diff --git a/pv/prop/binding/hwcap.h b/pv/prop/binding/hwcap.h index 27c7c1eb..1c6a7474 100644 --- a/pv/prop/binding/hwcap.h +++ b/pv/prop/binding/hwcap.h @@ -39,16 +39,15 @@ public: HwCap(struct sr_dev_inst *sdi); private: - void expose_enum(const struct sr_hwcap_option *hwo, + void expose_enum(const struct sr_config_info *info, const std::vector > &values, int opt); - void bind_stropt(const struct sr_hwcap_option *hwo, int id, - int opt); + void bind_stropt(const struct sr_config_info *info, int key); - 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); + void bind_buffer_size(const struct sr_config_info *info); + void bind_time_base(const struct sr_config_info *info); + void bind_vdiv(const struct sr_config_info *info); protected: const struct sr_dev_inst *_sdi;