changeset 26367:6943d2a41c6e

Add some more PurpleMediaInfo values.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 29 Mar 2009 23:40:31 +0000
parents 4e1286e76f1f
children aab0195f997d
files libpurple/media.c libpurple/media.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Sun Mar 29 23:00:33 2009 +0000
+++ b/libpurple/media.c	Sun Mar 29 23:40:31 2009 +0000
@@ -201,12 +201,18 @@
 		static const GEnumValue values[] = {
 			{ PURPLE_MEDIA_INFO_HANGUP,
 					"PURPLE_MEDIA_INFO_HANGUP", "hangup" },
+			{ PURPLE_MEDIA_INFO_ACCEPT,
+					"PURPLE_MEDIA_INFO_ACCEPT", "accept" },
 			{ PURPLE_MEDIA_INFO_REJECT,
 					"PURPLE_MEDIA_INFO_REJECT", "reject" },
 			{ PURPLE_MEDIA_INFO_MUTE,
 					"PURPLE_MEDIA_INFO_MUTE", "mute" },
+			{ PURPLE_MEDIA_INFO_UNMUTE,
+					"PURPLE_MEDIA_INFO_UNMUTE", "unmute" },
 			{ PURPLE_MEDIA_INFO_HOLD,
 					"PURPLE_MEDIA_INFO_HOLD", "hold" },
+			{ PURPLE_MEDIA_INFO_UNHOLD,
+					"PURPLE_MEDIA_INFO_HOLD", "unhold" },
 			{ 0, NULL, NULL }
 		};
 		type = g_enum_register_static("PurpleMediaInfoType", values);
--- a/libpurple/media.h	Sun Mar 29 23:00:33 2009 +0000
+++ b/libpurple/media.h	Sun Mar 29 23:40:31 2009 +0000
@@ -90,9 +90,12 @@
 /** Media info types */
 typedef enum {
 	PURPLE_MEDIA_INFO_HANGUP = 0,
+	PURPLE_MEDIA_INFO_ACCEPT,
 	PURPLE_MEDIA_INFO_REJECT,
 	PURPLE_MEDIA_INFO_MUTE,
+	PURPLE_MEDIA_INFO_UNMUTE,
 	PURPLE_MEDIA_INFO_HOLD,
+	PURPLE_MEDIA_INFO_UNHOLD,
 } PurpleMediaInfoType;
 
 typedef enum {