Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/buddy_list.h @ 24019:147ada94a1d8
2008.08.16 - ccpaging <ecc_hy(at)hotmail.com>
* Rename group to room. If you used pidginqq before, this may create a new room with same title, you may
delete old one
* Replace purple_debug with purple_debug_info, purple_debug_warning, purple_debug_error
* Add server notice and server new, and two options to turn on/off
* Minor modify for reducing transaction's debug infor
* Minor modifies for system notice and QQ news.
* Add 4 new strings need translate compare with p10.
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Thu, 11 Sep 2008 13:25:07 +0000 |
parents | 5f454b975a99 |
children | 1a0caf9983fa 25f62d21b3f8 |
comparison
equal
deleted
inserted
replaced
24018:40a4e02027f4 | 24019:147ada94a1d8 |
---|---|
40 guint8 unknown_key[QQ_KEY_LENGTH]; | 40 guint8 unknown_key[QQ_KEY_LENGTH]; |
41 } qq_buddy_status; | 41 } qq_buddy_status; |
42 | 42 |
43 enum { | 43 enum { |
44 QQ_BUDDY_OFFLINE = 0x00, | 44 QQ_BUDDY_OFFLINE = 0x00, |
45 QQ_BUDDY_ONLINE_NORMAL = 0x0a, | 45 QQ_BUDDY_ONLINE_NORMAL = 10, |
46 QQ_BUDDY_ONLINE_OFFLINE = 0x14, | 46 QQ_BUDDY_ONLINE_OFFLINE = 20, |
47 QQ_BUDDY_ONLINE_AWAY = 0x1e, | 47 QQ_BUDDY_ONLINE_AWAY = 30, |
48 QQ_BUDDY_ONLINE_INVISIBLE = 0x28 | 48 QQ_BUDDY_ONLINE_INVISIBLE = 40 |
49 }; | 49 }; |
50 | 50 |
51 void qq_send_packet_get_buddies_online(PurpleConnection *gc, guint8 position); | 51 void qq_request_get_buddies_online(PurpleConnection *gc, guint8 position, gint update_class); |
52 guint8 qq_process_get_buddies_online_reply(guint8 *data, gint data_len, PurpleConnection *gc); | 52 guint8 qq_process_get_buddies_online_reply(guint8 *data, gint data_len, PurpleConnection *gc); |
53 | 53 |
54 void qq_send_packet_get_buddies_list(PurpleConnection *gc, guint16 position); | 54 void qq_request_get_buddies_list(PurpleConnection *gc, guint16 position, gint update_class); |
55 guint16 qq_process_get_buddies_list_reply(guint8 *data, gint data_len, PurpleConnection *gc); | 55 guint16 qq_process_get_buddies_list_reply(guint8 *data, gint data_len, PurpleConnection *gc); |
56 | 56 |
57 void qq_send_packet_get_buddies_and_rooms(PurpleConnection *gc, guint32 position); | 57 void qq_request_get_buddies_and_rooms(PurpleConnection *gc, guint32 position, gint update_class); |
58 guint32 qq_process_get_buddies_and_rooms(guint8 *data, gint data_len, PurpleConnection *gc); | 58 guint32 qq_process_get_buddies_and_rooms(guint8 *data, gint data_len, PurpleConnection *gc); |
59 | 59 |
60 void qq_refresh_all_buddy_status(PurpleConnection *gc); | 60 void qq_refresh_all_buddy_status(PurpleConnection *gc); |
61 | 61 |
62 gboolean is_online(guint8 status); | 62 gboolean is_online(guint8 status); |
63 | 63 |
64 gint get_icon_offset(PurpleConnection *gc); | 64 gint get_icon_offset(PurpleConnection *gc); |
65 | 65 |
66 void qq_send_packet_change_status(PurpleConnection *gc); | 66 void qq_request_change_status(PurpleConnection *gc, gint update_class); |
67 void qq_process_change_status_reply(guint8 *data, gint data_len, PurpleConnection *gc); | 67 void qq_process_change_status_reply(guint8 *data, gint data_len, PurpleConnection *gc); |
68 void qq_process_buddy_change_status(guint8 *data, gint data_len, PurpleConnection *gc); | 68 void qq_process_buddy_change_status(guint8 *data, gint data_len, PurpleConnection *gc); |
69 | 69 |
70 void qq_refresh_all_buddy_status(PurpleConnection *gc); | 70 void qq_refresh_all_buddy_status(PurpleConnection *gc); |
71 void qq_update_buddy_contact(PurpleConnection *gc, qq_buddy *q_bud); | 71 void qq_update_buddy_contact(PurpleConnection *gc, qq_buddy *q_bud); |