diff libgaim/protocols/qq/qq.h @ 15139:e952a5fc97b3

[gaim-migrate @ 17924] Added support for QQ levels Allow 3rd party clients to specify the location of the buddy icon dir Minor code cleanup committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Sat, 09 Dec 2006 06:34:48 +0000
parents 2c93b0620065
children e9db26a103eb
line wrap: on
line diff
--- a/libgaim/protocols/qq/qq.h	Fri Dec 08 03:03:52 2006 +0000
+++ b/libgaim/protocols/qq/qq.h	Sat Dec 09 06:34:48 2006 +0000
@@ -37,7 +37,7 @@
 
 #ifdef _WIN32
 const char *qq_win32_buddy_icon_dir(void);
-#define QQBUDDYICONDIR qq_win32_buddy_icon_dir()
+#define QQ_BUDDY_ICON_DIR qq_win32_buddy_icon_dir()
 #endif
 
 typedef struct _qq_data qq_data;
@@ -55,6 +55,9 @@
 	guint8 flag1;
 	guint8 comm_flag;	/* details in qq_buddy_list.c */
 	guint16 client_version;
+	guint8 onlineTime;
+	guint16 level;
+	guint16 timeRemainder;
 	time_t signon;
 	time_t idle;
 	time_t last_refresh;
@@ -94,6 +97,7 @@
 	guint16 my_icon;		/* my icon index */
 	guint32 all_online;		/* the number of online QQ users */
 	time_t last_get_online;		/* last time send get_friends_online packet */
+	time_t last_get_levels;		/* last time send get_buddies_levels packet */
 
 	guint8 window[1 << 13];		/* check up for duplicated packet */
 	gint sendqueue_timeout;