- void expose_enum(const struct sr_config_info *info,
- const std::vector<std::pair<const void*, QString> > &values,
- int opt);
-
- void bind_stropt(const struct sr_config_info *info, int key);
+ 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);