Mercurial > pidgin.yaz
comparison libpurple/server.h @ 23616:49850f7ca393
Add purple_prpl_got_attention_in_chat, then deprecate
serv_{send,got}_attention, and add purple_prpl_{send,got}_attention
instead.
References #4542.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 19 Jul 2008 03:03:17 +0000 |
parents | 591ef3693345 |
children | 584063555949 4bc74deeb503 |
comparison
equal
deleted
inserted
replaced
23615:d370388bfc89 | 23616:49850f7ca393 |
---|---|
61 */ | 61 */ |
62 PurpleAttentionType *purple_get_attention_type_from_code(PurpleAccount *account, guint type_code); | 62 PurpleAttentionType *purple_get_attention_type_from_code(PurpleAccount *account, guint type_code); |
63 | 63 |
64 /** Send an attention request message. | 64 /** Send an attention request message. |
65 * | 65 * |
66 * @deprecated Use purple_prpl_send_attention() instead. | |
67 * | |
66 * @param gc The connection to send the message on. | 68 * @param gc The connection to send the message on. |
67 * @param who Whose attention to request. | 69 * @param who Whose attention to request. |
68 * @param type_code An index into the prpl's attention_types list determining the type | 70 * @param type_code An index into the prpl's attention_types list determining the type |
69 * of the attention request command to send. 0 if prpl only defines one | 71 * of the attention request command to send. 0 if prpl only defines one |
70 * (for example, Yahoo and MSN), but some protocols define more (MySpaceIM). | 72 * (for example, Yahoo and MSN), but some protocols define more (MySpaceIM). |
73 * only a fixed set of attention commands. | 75 * only a fixed set of attention commands. |
74 */ | 76 */ |
75 void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code); | 77 void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code); |
76 | 78 |
77 /** Process an incoming attention message. | 79 /** Process an incoming attention message. |
80 * | |
81 * @deprecated Use purple_prpl_got_attention() instead. | |
78 * | 82 * |
79 * @param gc The connection that received the attention message. | 83 * @param gc The connection that received the attention message. |
80 * @param who Who requested your attention. | 84 * @param who Who requested your attention. |
81 * @param type_code An index into the prpl's attention_types list determining the type | 85 * @param type_code An index into the prpl's attention_types list determining the type |
82 * of the attention request command to send. | 86 * of the attention request command to send. |