Skip to content
Snippets Groups Projects
Commit 8df31d1f authored by Vivien Didelot's avatar Vivien Didelot
Browse files

gnome: remove video device lists getters and setters

Refs #48203
Change-Id: I41bb04c6ac22401ec47b747bfa1b6eeedec34556
parent ea6c2c5b
No related branches found
No related tags found
No related merge requests found
......@@ -1953,47 +1953,6 @@ dbus_get_video_device_list()
return array;
}
/**
* Get the list of channels supported by the given device
*/
gchar **
dbus_get_video_device_channel_list(const gchar *dev)
{
gchar **array = NULL;
GError *error = NULL;
org_sflphone_SFLphone_VideoManager_get_device_channel_list(video_proxy, dev, &array, &error);
check_error(error);
return array;
}
/**
* Get the list of resolutions supported by the given channel of the given device
*/
gchar **
dbus_get_video_device_size_list(const gchar *dev, const gchar *channel)
{
gchar **array = NULL;
GError *error = NULL;
org_sflphone_SFLphone_VideoManager_get_device_size_list(video_proxy, dev, channel, &array, &error);
check_error(error);
return array;
}
/**
* Get the list of frame rates supported by the given resolution of the given channel of the given device
*/
gchar **
dbus_get_video_device_rate_list(const gchar *dev, const gchar *channel, const gchar *size)
{
gchar **array = NULL;
GError *error = NULL;
org_sflphone_SFLphone_VideoManager_get_device_rate_list(video_proxy, dev, channel, size, &array, &error);
check_error(error);
return array;
}
GHashTable *
dbus_get_video_capabilities(const gchar *name)
{
......
......@@ -393,9 +393,6 @@ GHashTable *dbus_get_video_preferences(const gchar *name);
void dbus_set_video_preferences(const gchar *name, GHashTable *pref);
gchar *dbus_get_active_video_device();
gchar **dbus_get_video_device_list();
gchar **dbus_get_video_device_channel_list(const gchar *dev);
gchar **dbus_get_video_device_size_list(const gchar *dev, const gchar *channel);
gchar **dbus_get_video_device_rate_list(const gchar *dev, const gchar *channel, const gchar *size);
GHashTable *dbus_get_video_capabilities(const gchar *name);
/**
......
......@@ -10,39 +10,6 @@
</arg>
</method>
<method name="getDeviceChannelList" tp:name-for-bindings="getDeviceChannelList">
<tp:docstring>Returns a list of the channels available for a given v4l2 device</tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="s" name="device" direction="in">
</arg>
<arg type="as" name="list" direction="out">
</arg>
</method>
<method name="getDeviceSizeList" tp:name-for-bindings="getDeviceSizeList">
<tp:docstring>Returns a list of the resolutions available for a given channel of a given v4l2 device</tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="s" name="device" direction="in">
</arg>
<arg type="s" name="channel" direction="in">
</arg>
<arg type="as" name="list" direction="out">
</arg>
</method>
<method name="getDeviceRateList" tp:name-for-bindings="getDeviceRateList">
<tp:docstring>Returns a list of the framerates available for a given resolution of a given channel of a given v4l2 device</tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="s" name="device" direction="in">
</arg>
<arg type="s" name="channel" direction="in">
</arg>
<arg type="s" name="size" direction="in">
</arg>
<arg type="as" name="list" direction="out">
</arg>
</method>
<method name="getCapabilities" tp:name-for-bindings="getCapabilities">
<tp:docstring>Returns a map of map of array of strings, containing the capabilities (channel, size, rate) of a device</tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringMapStringVectorString"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment