Mercurial > pidgin
comparison libpurple/conversation.h @ 29244:22b8a92fb5ee
Adds attention UI to Pidgin (can send attentions using a menu item)
API to "fire" an attention on a conversation, triggering signals.
Currently gtksound is set up to use the alert sound for received and sent
attentions.
Refs #2788
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 20 Oct 2008 18:44:06 +0000 |
parents | c87f7c6ab57c |
children | 9ea6842536ba |
comparison
equal
deleted
inserted
replaced
24237:c1e58cfd1107 | 29244:22b8a92fb5ee |
---|---|
643 */ | 643 */ |
644 void purple_conversation_write(PurpleConversation *conv, const char *who, | 644 void purple_conversation_write(PurpleConversation *conv, const char *who, |
645 const char *message, PurpleMessageFlags flags, | 645 const char *message, PurpleMessageFlags flags, |
646 time_t mtime); | 646 time_t mtime); |
647 | 647 |
648 | 648 /** |
649 * Sends an attention to a conversation window. | |
650 * | |
651 * This is to be called by prpls to tell UIs to set off the action for | |
652 * an attention message | |
653 * | |
654 * @param conv The conversation | |
655 * @param who The user who sent the attention | |
656 * @param type The attention type (will be 0 for protocols that only have 1 type) | |
657 * @param flags The message flags (send, receive) | |
658 * @param mtime The time the attentsion was sent | |
659 */ | |
660 void purple_conversation_attention(PurpleConversation *conv, const char *who, | |
661 guint attention_type, PurpleMessageFlags flags, time_t mtime); | |
662 | |
649 /** | 663 /** |
650 Set the features as supported for the given conversation. | 664 Set the features as supported for the given conversation. |
651 @param conv The conversation | 665 @param conv The conversation |
652 @param features Bitset defining supported features | 666 @param features Bitset defining supported features |
653 */ | 667 */ |