Mercurial > pidgin.yaz
comparison src/blist.h @ 10008:50c1724d5e59
[gaim-migrate @ 10925]
Lots of needless shuffling of stuff around.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 10 Sep 2004 04:43:31 +0000 |
parents | ccb638cf8642 |
children | a38881ec9c0f |
comparison
equal
deleted
inserted
replaced
10007:267a2b69e36e | 10008:50c1724d5e59 |
---|---|
37 | 37 |
38 typedef struct _GaimChat GaimChat; | 38 typedef struct _GaimChat GaimChat; |
39 typedef struct _GaimGroup GaimGroup; | 39 typedef struct _GaimGroup GaimGroup; |
40 typedef struct _GaimContact GaimContact; | 40 typedef struct _GaimContact GaimContact; |
41 typedef struct _GaimBuddy GaimBuddy; | 41 typedef struct _GaimBuddy GaimBuddy; |
42 | |
43 #include "account.h" | |
44 #include "buddyicon.h" | |
45 #include "status.h" | |
46 | 42 |
47 /**************************************************************************/ | 43 /**************************************************************************/ |
48 /* Enumerations */ | 44 /* Enumerations */ |
49 /**************************************************************************/ | 45 /**************************************************************************/ |
50 typedef enum | 46 typedef enum |
75 ((b) != NULL && gaim_account_is_connected((b)->account) && \ | 71 ((b) != NULL && gaim_account_is_connected((b)->account) && \ |
76 gaim_presence_is_online(gaim_buddy_get_presence(b))) | 72 gaim_presence_is_online(gaim_buddy_get_presence(b))) |
77 | 73 |
78 typedef enum | 74 typedef enum |
79 { | 75 { |
80 GAIM_BLIST_NODE_FLAG_NO_SAVE = 1, /**< node should not be saved with the buddy list */ | 76 GAIM_BLIST_NODE_FLAG_NO_SAVE = 1 /**< node should not be saved with the buddy list */ |
77 | |
81 } GaimBlistNodeFlags; | 78 } GaimBlistNodeFlags; |
82 | 79 |
83 #define GAIM_BLIST_NODE_HAS_FLAG(b, f) ((b)->flags & (f)) | 80 #define GAIM_BLIST_NODE_HAS_FLAG(b, f) ((b)->flags & (f)) |
84 #define GAIM_BLIST_NODE_SHOULD_SAVE(b) (! GAIM_BLIST_NODE_HAS_FLAG(b, GAIM_BLIST_NODE_FLAG_NO_SAVE)) | 81 #define GAIM_BLIST_NODE_SHOULD_SAVE(b) (! GAIM_BLIST_NODE_HAS_FLAG(b, GAIM_BLIST_NODE_FLAG_NO_SAVE)) |
85 | 82 |
83 #include "account.h" | |
84 #include "buddyicon.h" | |
85 #include "status.h" | |
86 | 86 |
87 /**************************************************************************/ | 87 /**************************************************************************/ |
88 /* Data Structures */ | 88 /* Data Structures */ |
89 /**************************************************************************/ | 89 /**************************************************************************/ |
90 | 90 |