diff libpurple/media/backend-iface.c @ 29148:af08588c06f5

Add the conference-type property to the media backend interface.
author maiku@pidgin.im
date Thu, 22 Oct 2009 22:58:48 +0000
parents 0ae9306de1f6
children c9845a081a3a
line wrap: on
line diff
--- a/libpurple/media/backend-iface.c	Thu Oct 22 22:30:03 2009 +0000
+++ b/libpurple/media/backend-iface.c	Thu Oct 22 22:58:48 2009 +0000
@@ -41,6 +41,7 @@
 
 enum {
 	PROP_0,
+	PROP_CONFERENCE_TYPE,
 	PROP_MEDIA,
 };
 
@@ -52,6 +53,13 @@
 	if (is_initialized)
 		return;
 
+	g_object_class_install_property(iface, PROP_CONFERENCE_TYPE,
+			g_param_spec_object("conference-type",
+			"Conference Type",
+			"The type of conference that this backend "
+			"has been created to provide.",
+			G_TYPE_STRING,
+			G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
 	g_object_class_install_property(iface, PROP_MEDIA,
 			g_param_spec_object("media",
 			"Purple Media",