+ static GVariant* config_getter(
+ const struct sr_dev_inst *sdi, int key);
+ static void config_setter(
+ const struct sr_dev_inst *sdi, int key, GVariant* value);
+
+ void bind_bool(const QString &name, int key);
+ void bind_enum(const QString &name, int key,
+ GVariant *const gvar_list,
+ boost::function<QString (GVariant*)> printer = print_gvariant);
+ void bind_int(const QString &name, int key, QString suffix,
+ boost::optional< std::pair<int64_t, int64_t> > range);
+
+ static QString print_gvariant(GVariant *const gvar);