src/blist.h

changeset 9949
377cd65fab3d
parent 9944
71ef020ec4b0
child 9996
8d3e1f9eee97
equal deleted inserted replaced
9948:2642975ffb85 9949:377cd65fab3d
110 char *name; /**< The screenname of the buddy. */ 110 char *name; /**< The screenname of the buddy. */
111 char *alias; /**< The user-set alias of the buddy */ 111 char *alias; /**< The user-set alias of the buddy */
112 char *server_alias; /**< The server-specified alias of the buddy. (i.e. MSN "Friendly Names") */ 112 char *server_alias; /**< The server-specified alias of the buddy. (i.e. MSN "Friendly Names") */
113 GaimBuddyPresenceState present; /**< This is 0 if the buddy appears offline, 1 if he appears online, and 2 if 113 GaimBuddyPresenceState present; /**< This is 0 if the buddy appears offline, 1 if he appears online, and 2 if
114 he has recently signed on */ 114 he has recently signed on */
115 int evil; /**< The warning level */
116 time_t signon; /**< The time the buddy signed on. */ 115 time_t signon; /**< The time the buddy signed on. */
117 int idle; /**< The time the buddy has been idle in minutes. */
118 int uc; /**< This is a cryptic bitmask that makes sense only to the prpl. This will get changed */ 116 int uc; /**< This is a cryptic bitmask that makes sense only to the prpl. This will get changed */
119 void *proto_data; /**< This allows the prpl to associate whatever data it wants with a buddy */ 117 void *proto_data; /**< This allows the prpl to associate whatever data it wants with a buddy */
120 GaimBuddyIcon *icon; /**< The buddy icon. */ 118 GaimBuddyIcon *icon; /**< The buddy icon. */
121 GaimAccount *account; /**< the account this buddy belongs to */ 119 GaimAccount *account; /**< the account this buddy belongs to */
122 guint timer; /**< The timer handle. */ 120 guint timer; /**< The timer handle. */
121 GaimPresence *presence;
123 }; 122 };
124 123
125 /** 124 /**
126 * A contact. This contains everything Gaim will ever need to know about a contact. 125 * A contact. This contains everything Gaim will ever need to know about a contact.
127 */ 126 */
190 void (*request_add_buddy)(GaimAccount *account, const char *username, 189 void (*request_add_buddy)(GaimAccount *account, const char *username,
191 const char *group, const char *alias); 190 const char *group, const char *alias);
192 void (*request_add_chat)(GaimAccount *account, GaimGroup *group, 191 void (*request_add_chat)(GaimAccount *account, GaimGroup *group,
193 const char *alias, const char *name); 192 const char *alias, const char *name);
194 void (*request_add_group)(void); 193 void (*request_add_group)(void);
194 void (*status_changed)(GaimBuddy *buddy, GaimStatus *status);
195 }; 195 };
196 196
197 197
198 struct _GaimBlistNodeAction { 198 struct _GaimBlistNodeAction {
199 char *label; 199 char *label;

mercurial