Mercurial > pidgin
diff src/blist.h @ 11910:700ec4523c04
[gaim-migrate @ 14201]
begone, buddy->present!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 30 Oct 2005 23:33:36 +0000 |
parents | 16796e09b9c1 |
children | 73777ad45562 |
line wrap: on
line diff
--- a/src/blist.h Sun Oct 30 23:21:22 2005 +0000 +++ b/src/blist.h Sun Oct 30 23:33:36 2005 +0000 @@ -58,15 +58,6 @@ #define GAIM_BLIST_NODE_IS_CONTACT(n) ((n)->type == GAIM_BLIST_CONTACT_NODE) #define GAIM_BLIST_NODE_IS_GROUP(n) ((n)->type == GAIM_BLIST_GROUP_NODE) -typedef enum -{ - GAIM_BUDDY_SIGNING_OFF = -1, - GAIM_BUDDY_OFFLINE = 0, - GAIM_BUDDY_ONLINE, - GAIM_BUDDY_SIGNING_ON - -} GaimBuddyPresenceState; - #define GAIM_BUDDY_IS_ONLINE(b) \ ((b) != NULL && gaim_account_is_connected((b)->account) && \ gaim_presence_is_online(gaim_buddy_get_presence(b))) @@ -111,12 +102,9 @@ char *name; /**< The screenname of the buddy. */ char *alias; /**< The user-set alias of the buddy */ char *server_alias; /**< The server-specified alias of the buddy. (i.e. MSN "Friendly Names") */ - GaimBuddyPresenceState present; /**< This is 0 if the buddy appears offline, 1 if he appears online, and 2 if - he has recently signed on */ void *proto_data; /**< This allows the prpl to associate whatever data it wants with a buddy */ GaimBuddyIcon *icon; /**< The buddy icon. */ GaimAccount *account; /**< the account this buddy belongs to */ - guint timer; /**< The timer handle. */ GaimPresence *presence; };