Mercurial > pidgin.yaz
comparison src/blist.h @ 6063:5239a3b4ab33
[gaim-migrate @ 6513]
clean up a lot of compiler warnings. Hopefully I didn't break anything too badly.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 08 Jul 2003 06:11:49 +0000 |
parents | d8cd876e613e |
children | 9083f92e0d58 |
comparison
equal
deleted
inserted
replaced
6062:2cd7c409d71d | 6063:5239a3b4ab33 |
---|---|
41 /**************************************************************************/ | 41 /**************************************************************************/ |
42 enum gaim_blist_node_type { | 42 enum gaim_blist_node_type { |
43 GAIM_BLIST_GROUP_NODE, | 43 GAIM_BLIST_GROUP_NODE, |
44 GAIM_BLIST_BUDDY_NODE, | 44 GAIM_BLIST_BUDDY_NODE, |
45 GAIM_BLIST_CHAT_NODE, | 45 GAIM_BLIST_CHAT_NODE, |
46 GAIM_BLIST_OTHER_NODE, | 46 GAIM_BLIST_OTHER_NODE |
47 }; | 47 }; |
48 | 48 |
49 #define GAIM_BLIST_NODE_IS_CHAT(n) ((n)->type == GAIM_BLIST_CHAT_NODE) | 49 #define GAIM_BLIST_NODE_IS_CHAT(n) ((n)->type == GAIM_BLIST_CHAT_NODE) |
50 #define GAIM_BLIST_NODE_IS_BUDDY(n) ((n)->type == GAIM_BLIST_BUDDY_NODE) | 50 #define GAIM_BLIST_NODE_IS_BUDDY(n) ((n)->type == GAIM_BLIST_BUDDY_NODE) |
51 #define GAIM_BLIST_NODE_IS_GROUP(n) ((n)->type == GAIM_BLIST_GROUP_NODE) | 51 #define GAIM_BLIST_NODE_IS_GROUP(n) ((n)->type == GAIM_BLIST_GROUP_NODE) |
52 | 52 |
53 enum gaim_buddy_presence_state { | 53 enum gaim_buddy_presence_state { |
54 GAIM_BUDDY_SIGNING_OFF = -1, | 54 GAIM_BUDDY_SIGNING_OFF = -1, |
55 GAIM_BUDDY_OFFLINE = 0, | 55 GAIM_BUDDY_OFFLINE = 0, |
56 GAIM_BUDDY_ONLINE, | 56 GAIM_BUDDY_ONLINE, |
57 GAIM_BUDDY_SIGNING_ON, | 57 GAIM_BUDDY_SIGNING_ON |
58 }; | 58 }; |
59 | 59 |
60 #define GAIM_BUDDY_IS_ONLINE(b) ((b)->present == GAIM_BUDDY_ONLINE || \ | 60 #define GAIM_BUDDY_IS_ONLINE(b) ((b)->present == GAIM_BUDDY_ONLINE || \ |
61 (b)->present == GAIM_BUDDY_SIGNING_ON) | 61 (b)->present == GAIM_BUDDY_SIGNING_ON) |
62 | 62 |