diff --git a/gnome/src/dbus/dbus.c b/gnome/src/dbus/dbus.c index f50785c1eac81bd1d18037739336e73216d9e948..d5d19ac401413fb680486375205452526035a180 100644 --- a/gnome/src/dbus/dbus.c +++ b/gnome/src/dbus/dbus.c @@ -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) { diff --git a/gnome/src/dbus/dbus.h b/gnome/src/dbus/dbus.h index 59fbfb4fbdeddce14d16f2cb8cb532c31428961f..14015909f5d5ed633cdbefa10867a6b91bf837db 100644 --- a/gnome/src/dbus/dbus.h +++ b/gnome/src/dbus/dbus.h @@ -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); /** diff --git a/gnome/src/dbus/videomanager-introspec.xml b/gnome/src/dbus/videomanager-introspec.xml index 05b02f2c92c13d7e61be59994ea7da79e3edf085..317592df60194bb82b76ea5eff056ef976fbe7f4 100644 --- a/gnome/src/dbus/videomanager-introspec.xml +++ b/gnome/src/dbus/videomanager-introspec.xml @@ -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"/>