pidgin.vv: 735d5ef8: Add some more PurpleMediaInfo values.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Sun Mar 29 21:25:37 EDT 2009


-----------------------------------------------------------------
Revision: 735d5ef88bf74257cfe554a96e9055e3a936284b
Ancestor: af786a7f61576b2cb57b61df5bf78d69b7ec3c8d
Author: maiku at soc.pidgin.im
Date: 2009-03-29T23:40:31
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/735d5ef88bf74257cfe554a96e9055e3a936284b

Modified files:
        libpurple/media.c libpurple/media.h

ChangeLog: 

Add some more PurpleMediaInfo values.

-------------- next part --------------
============================================================
--- libpurple/media.c	0374767b86c3f5e1300094ba2f5bf0a9865b59c8
+++ libpurple/media.c	035168f31af2f763afe0749fba38465de0ee1050
@@ -201,12 +201,18 @@ purple_media_info_type_get_type()
 		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);
============================================================
--- libpurple/media.h	0344addc0718d738420338d3d8bbe83138a4d4c8
+++ libpurple/media.h	639ee1d808f498e41499063872301bc400ac648f
@@ -90,9 +90,12 @@ typedef enum {
 /** 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 {


More information about the Commits mailing list