X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fdeviceoptions.h;h=b622d9379665a014283bb05eea7799907bd97910;hp=340e0d727af4ae67c1b57afc9fe307132d06ffc5;hb=d71bca8b719331690455e3b3aa8aeeba350c9d3a;hpb=9dbb80b0dbc0fc51a11e42f8e10fc72e9b66f694 diff --git a/pv/prop/binding/deviceoptions.h b/pv/prop/binding/deviceoptions.h index 340e0d72..b622d937 100644 --- a/pv/prop/binding/deviceoptions.h +++ b/pv/prop/binding/deviceoptions.h @@ -47,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