Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.h @ 17379:6fa345a01dd8
Show buddy information in tooltip text, and the display name for status text.
Added msim_store_buddy_info(), which saves user information from the
user info reply directly to the buddy list node. Callback functions now use
purple_blist_node_get_{int,string}() to retrieve fields, such as UserID,
DisplayName, TotalFriends, Age, etc. from the buddy list node.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Thu, 14 Jun 2007 00:23:06 +0000 |
parents | 8c51a7920199 |
children | df93e8773981 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Wed Jun 13 23:43:13 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Thu Jun 14 00:23:06 2007 +0000 @@ -164,6 +164,8 @@ unsigned int msim_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state); +void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); +gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg); gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); gboolean msim_preprocess_incoming(MsimSession *session, MsimMessage *msg);