Mercurial > pidgin.yaz
comparison src/blist.h @ 5906:390d32a6b130
[gaim-migrate @ 6338]
auto-join for chats in the buddy list. Yes, the interface sucks. I suck at
making interfaces. I'm sure someone more talented will make it pretty, or
maybe even HIG-y.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 16 Jun 2003 05:14:05 +0000 |
parents | 5e93fc46d1af |
children | 158196b2db19 |
comparison
equal
deleted
inserted
replaced
5905:dbe2a2174be9 | 5906:390d32a6b130 |
---|---|
116 struct chat { | 116 struct chat { |
117 GaimBlistNode node; /**< The node that this chat inherits from */ | 117 GaimBlistNode node; /**< The node that this chat inherits from */ |
118 char *alias; /**< The display name of this chat. */ | 118 char *alias; /**< The display name of this chat. */ |
119 GHashTable *components; /**< the stuff the protocol needs to know to join the chat */ | 119 GHashTable *components; /**< the stuff the protocol needs to know to join the chat */ |
120 GaimAccount *account; /**< The account this chat is attached to */ | 120 GaimAccount *account; /**< The account this chat is attached to */ |
121 GHashTable *settings; /**< per-chat settings from the XML buddy list, set by plugins and the likes. */ | |
121 }; | 122 }; |
122 | 123 |
123 | 124 |
124 /** | 125 /** |
125 * The Buddy List | 126 * The Buddy List |
502 * @param key The key to retrieve the data with | 503 * @param key The key to retrieve the data with |
503 * @return The associated data or NULL if no data is associated | 504 * @return The associated data or NULL if no data is associated |
504 */ | 505 */ |
505 char *gaim_group_get_setting(struct group *g, const char *key); | 506 char *gaim_group_get_setting(struct group *g, const char *key); |
506 | 507 |
508 /** | |
509 * Associates some data with the chat in the xml buddy list | |
510 * | |
511 * @param b The chat the data is associated with | |
512 * @param key The key used to retrieve the data | |
513 * @param value The data to set | |
514 */ | |
515 void gaim_chat_set_setting(struct chat *c, const char *key, const char *value); | |
516 | |
517 /** | |
518 * Retrieves data from the XML buddy list set by gaim_chat_set_setting()) | |
519 * | |
520 * @param b The chat to retrieve data from | |
521 * @param key The key to retrieve the data with | |
522 * @return The associated data or NULL if no data is associated | |
523 */ | |
524 char *gaim_chat_get_setting(struct chat *c, const char *key); | |
507 | 525 |
508 /** | 526 /** |
509 * Associates some data with the buddy in the xml buddy list | 527 * Associates some data with the buddy in the xml buddy list |
510 * | 528 * |
511 * @param b The buddy the data is associated with | 529 * @param b The buddy the data is associated with |