key->get_id(), value.gobj()));
}
-Glib::VariantBase Configurable::config_list(const ConfigKey *key)
+Glib::VariantContainerBase Configurable::config_list(const ConfigKey *key)
{
GVariant *data;
check(sr_config_list(
config_driver, config_sdi, config_channel_group,
key->get_id(), &data));
- return Glib::VariantBase(data);
+ return Glib::VariantContainerBase(data);
}
Device::Device(struct sr_dev_inst *structure) :
/** Set configuration for the given key to a specified value. */
void config_set(const ConfigKey *key, Glib::VariantBase value);
/** Enumerate available values for the given configuration key. */
- Glib::VariantBase config_list(const ConfigKey *key);
+ Glib::VariantContainerBase config_list(const ConfigKey *key);
protected:
Configurable(
struct sr_dev_driver *driver,