diff src/protocols/msn/state.c @ 19796:3a15b4e5c336

[gaim-migrate @ 16716] add/delete contact function OK committed by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sat, 12 Aug 2006 10:30:30 +0000
parents 23258253c7a0
children 2e078c892e0b
line wrap: on
line diff
--- a/src/protocols/msn/state.c	Thu Aug 10 15:43:55 2006 +0000
+++ b/src/protocols/msn/state.c	Sat Aug 12 10:30:30 2006 +0000
@@ -38,6 +38,17 @@
 	N_("Available")
 };
 
+/* Local Function Prototype*/
+char * msn_build_psm(char * psmstr,char *mediastr,char * guidstr);
+
+/*
+ * WLM media PSM info build prcedure
+ *
+ * Result can like:
+ *	<CurrentMedia>\0Music\01\0{0} - {1}\0 Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>\
+ *	<CurrentMedia>\0Games\01\0Playing {0}\0Game Name\0</CurrentMedia>\
+ *	<CurrentMedia>\0Office\01\0Office Message\0Office App Name\0</CurrentMedia>"
+ */
 char *
 msn_build_psm(char * psmstr,char *mediastr,char * guidstr)
 {
@@ -53,10 +64,6 @@
 	}
 	xmlnode_insert_child(dataNode,psmNode);
 
-//"<CurrentMedia>\0Music\01\0{0} - {1}\0 Song Title\0Song Artist\0Song Album\0\0</CurrentMedia>\
-<CurrentMedia>\0Games\01\0Playing {0}\0Game Name\0</CurrentMedia>\
-<CurrentMedia>\0Office\01\0Office Message\0Office App Name\0</CurrentMedia>"
-
 	mediaNode = xmlnode_new("CurrentMedia");
 	if(mediastr != NULL){
 		xmlnode_insert_data(psmNode,mediastr,strlen(mediastr));