Mercurial > pidgin.yaz
comparison libpurple/server.h @ 32478:91e8402106c1
Remove old serv attention functions.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 02 Sep 2011 03:29:23 +0000 |
parents | 44f53d3fc54f |
children |
comparison
equal
deleted
inserted
replaced
32477:efe38e6319f2 | 32478:91e8402106c1 |
---|---|
58 /** Get information about an account's attention commands, from the prpl. | 58 /** Get information about an account's attention commands, from the prpl. |
59 * | 59 * |
60 * @return The attention command numbered 'code' from the prpl's attention_types, or NULL. | 60 * @return The attention command numbered 'code' from the prpl's attention_types, or NULL. |
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 | |
64 /** Send an attention request message. | |
65 * | |
66 * @deprecated Use purple_prpl_send_attention() instead. | |
67 * | |
68 * @param gc The connection to send the message on. | |
69 * @param who Whose attention to request. | |
70 * @param type_code An index into the prpl's attention_types list determining the type | |
71 * of the attention request command to send. 0 if prpl only defines one | |
72 * (for example, Yahoo and MSN), but some protocols define more (MySpaceIM). | |
73 * | |
74 * Note that you can't send arbitrary PurpleAttentionType's, because there is | |
75 * only a fixed set of attention commands. | |
76 */ | |
77 void serv_send_attention(PurpleConnection *gc, const char *who, guint type_code); | |
78 | |
79 /** Process an incoming attention message. | |
80 * | |
81 * @deprecated Use purple_prpl_got_attention() instead. | |
82 * | |
83 * @param gc The connection that received the attention message. | |
84 * @param who Who requested your attention. | |
85 * @param type_code An index into the prpl's attention_types list determining the type | |
86 * of the attention request command to send. | |
87 */ | |
88 void serv_got_attention(PurpleConnection *gc, const char *who, guint type_code); | |
89 | 63 |
90 void serv_get_info(PurpleConnection *, const char *); | 64 void serv_get_info(PurpleConnection *, const char *); |
91 void serv_set_info(PurpleConnection *, const char *); | 65 void serv_set_info(PurpleConnection *, const char *); |
92 | 66 |
93 void serv_add_permit(PurpleConnection *, const char *); | 67 void serv_add_permit(PurpleConnection *, const char *); |