diff libgaim/protocols/oscar/oscarcommon.h @ 15143:b81e4e44b509

[gaim-migrate @ 17929] User Info and Tooltips now use the GaimNotifyUserInfo object and methods defined in notify.h. GaimNotifyUserInfo objects encapsulate a list of GaimNotifyUserInfoEntry objects, each of which may have a label, a value, and be specified to be a section header. This moves the burden of UI generation of user information from the various prpls to the UI. The UI can choose how to display the information rather than being fenced into a particular HTML formatting. Consistency across the prpls' information presentation is now enforced, as well. gaim_notify_user_info_get_text_with_newline() generates text in the: <b>label</b>: value <b>label</b>: value format as was passed by convention from prpls in the past. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 10 Dec 2006 02:53:09 +0000
parents 17e367667cbf
children
line wrap: on
line diff
--- a/libgaim/protocols/oscar/oscarcommon.h	Sat Dec 09 20:20:17 2006 +0000
+++ b/libgaim/protocols/oscar/oscarcommon.h	Sun Dec 10 02:53:09 2006 +0000
@@ -28,6 +28,7 @@
 #include "internal.h"
 #include "prpl.h"
 #include "version.h"
+#include "notify.h"
 
 #define OSCAR_DEFAULT_LOGIN_SERVER "login.oscar.aol.com"
 #define OSCAR_DEFAULT_LOGIN_PORT 5190
@@ -48,7 +49,7 @@
 const char *oscar_list_icon_aim(GaimAccount *a, GaimBuddy *b);
 void oscar_list_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne);
 char *oscar_status_text(GaimBuddy *b);
-void oscar_tooltip_text(GaimBuddy *b, GString *str, gboolean full);
+void oscar_tooltip_text(GaimBuddy *b, GaimNotifyUserInfo *user_info, gboolean full);
 GList *oscar_status_types(GaimAccount *account);
 GList *oscar_blist_node_menu(GaimBlistNode *node);
 GList *oscar_chat_info(GaimConnection *gc);