Mercurial > pidgin.yaz
diff libpurple/conversation.h @ 29653:d855ff9cf839
propagate from branch 'im.pidgin.pidgin' (head 311b4db51b575e1baa7f78d751ff926475edecc3)
to branch 'im.pidgin.cpw.attention_ui' (head 97b1a4ad4476369802e26e6ddf7aec5a5e46dc00)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Thu, 13 Nov 2008 19:49:58 +0000 |
parents | 22b8a92fb5ee |
children | 9ea6842536ba |
line wrap: on
line diff
--- a/libpurple/conversation.h Thu Nov 13 09:00:45 2008 +0000 +++ b/libpurple/conversation.h Thu Nov 13 19:49:58 2008 +0000 @@ -645,7 +645,21 @@ const char *message, PurpleMessageFlags flags, time_t mtime); - +/** + * Sends an attention to a conversation window. + * + * This is to be called by prpls to tell UIs to set off the action for + * an attention message + * + * @param conv The conversation + * @param who The user who sent the attention + * @param type The attention type (will be 0 for protocols that only have 1 type) + * @param flags The message flags (send, receive) + * @param mtime The time the attentsion was sent + */ +void purple_conversation_attention(PurpleConversation *conv, const char *who, + guint attention_type, PurpleMessageFlags flags, time_t mtime); + /** Set the features as supported for the given conversation. @param conv The conversation