X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdeviceoptions.h;h=b622d9379665a014283bb05eea7799907bd97910;hp=ce0799b5f09a2c2be1cb5f8a239cf031d9e539cc;hb=d71bca8b719331690455e3b3aa8aeeba350c9d3a;hpb=3820592a018c777727a6e65bd754d113742f4462 diff --git a/pv/prop/binding/deviceoptions.h b/pv/prop/binding/deviceoptions.h index ce0799b5..b622d937 100644 --- a/pv/prop/binding/deviceoptions.h +++ b/pv/prop/binding/deviceoptions.h @@ -23,9 +23,7 @@ #include -extern "C" { #include -} #include "binding.h" @@ -49,8 +47,12 @@ private: void bind_time_base(const struct sr_config_info *info); void bind_vdiv(const struct sr_config_info *info); +private: + static const void* enum_getter( + const struct sr_dev_inst *sdi, int key); + protected: - const struct sr_dev_inst *_sdi; + struct sr_dev_inst *const _sdi; }; } // binding