Mercurial > pidgin.yaz
comparison libpurple/prpl.h @ 27864:e81f0d1966db
propagate from branch 'im.pidgin.pidgin' (head fedb7de8d5fe70aa0cd0ee66f32050b68f5fd230)
to branch 'im.pidgin.pidgin.yaz' (head 408cc507c692410048dc0b6fd409bb65b04b45cd)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 28 Jul 2008 06:18:51 +0000 |
parents | 49850f7ca393 |
children | 23170794f9f5 4bc74deeb503 1fb503adb2ae |
comparison
equal
deleted
inserted
replaced
27863:57727a140609 | 27864:e81f0d1966db |
---|---|
691 * | 691 * |
692 * @return List of statuses | 692 * @return List of statuses |
693 */ | 693 */ |
694 GList *purple_prpl_get_statuses(PurpleAccount *account, PurplePresence *presence); | 694 GList *purple_prpl_get_statuses(PurpleAccount *account, PurplePresence *presence); |
695 | 695 |
696 /** Send an attention request message. | |
697 * | |
698 * @param gc The connection to send the message on. | |
699 * @param who Whose attention to request. | |
700 * @param type_code An index into the prpl's attention_types list determining the type | |
701 * of the attention request command to send. 0 if prpl only defines one | |
702 * (for example, Yahoo and MSN), but some protocols define more (MySpaceIM). | |
703 * | |
704 * Note that you can't send arbitrary PurpleAttentionType's, because there is | |
705 * only a fixed set of attention commands. | |
706 * @since 2.5.0 | |
707 */ | |
708 void purple_prpl_send_attention(PurpleConnection *gc, const char *who, guint type_code); | |
709 | |
710 /** Process an incoming attention message. | |
711 * | |
712 * @param gc The connection that received the attention message. | |
713 * @param who Who requested your attention. | |
714 * @param type_code An index into the prpl's attention_types list determining the type | |
715 * of the attention request command to send. | |
716 * @since 2.5.0 | |
717 */ | |
718 void purple_prpl_got_attention(PurpleConnection *gc, const char *who, guint type_code); | |
719 | |
720 /** Process an incoming attention message in a chat. | |
721 * | |
722 * @param gc The connection that received the attention message. | |
723 * @param id The chat id. | |
724 * @param who Who requested your attention. | |
725 * @param type_code An index into the prpl's attention_types list determining the type | |
726 * of the attention request command to send. | |
727 * @since 2.5.0 | |
728 */ | |
729 void purple_prpl_got_attention_in_chat(PurpleConnection *gc, int id, const char *who, guint type_code); | |
730 | |
696 /*@}*/ | 731 /*@}*/ |
697 | 732 |
698 /**************************************************************************/ | 733 /**************************************************************************/ |
699 /** @name Protocol Plugin Subsystem API */ | 734 /** @name Protocol Plugin Subsystem API */ |
700 /**************************************************************************/ | 735 /**************************************************************************/ |