comparison src/blist.h @ 12519:e63a80be5227

[gaim-migrate @ 14831] better (?) tooltips committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 17 Dec 2005 05:13:45 +0000
parents fc464a0abccc
children 248b8b39c671
comparison
equal deleted inserted replaced
12518:81c2d63f1733 12519:e63a80be5227
68 68
69 } GaimBlistNodeFlags; 69 } GaimBlistNodeFlags;
70 70
71 #define GAIM_BLIST_NODE_HAS_FLAG(b, f) ((b)->flags & (f)) 71 #define GAIM_BLIST_NODE_HAS_FLAG(b, f) ((b)->flags & (f))
72 #define GAIM_BLIST_NODE_SHOULD_SAVE(b) (! GAIM_BLIST_NODE_HAS_FLAG(b, GAIM_BLIST_NODE_FLAG_NO_SAVE)) 72 #define GAIM_BLIST_NODE_SHOULD_SAVE(b) (! GAIM_BLIST_NODE_HAS_FLAG(b, GAIM_BLIST_NODE_FLAG_NO_SAVE))
73
74 #define GAIM_BLIST_NODE_NAME(n) ((n)->type == GAIM_BLIST_CHAT_NODE ? gaim_chat_get_name((GaimChat*)n) : \
75 (n)->type == GAIM_BLIST_BUDDY_NODE ? gaim_buddy_get_name((GaimBuddy*)n) : NULL)
73 76
74 #include "account.h" 77 #include "account.h"
75 #include "buddyicon.h" 78 #include "buddyicon.h"
76 #include "status.h" 79 #include "status.h"
77 80