Mercurial > pidgin.yaz
diff libpurple/conversation.h @ 29678:676494d92262
propagate from branch 'im.pidgin.pidgin' (head 5ab68ddb0251205f7ef97f4c280e65696cbd5ff2)
to branch 'im.pidgin.cpw.attention_ui' (head f244d5d303fff82243cee52fe1794b9338ec4d16)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 07 Apr 2009 08:12:56 +0000 |
parents | b98519a42e53 |
children | e57315a062cb |
line wrap: on
line diff
--- a/libpurple/conversation.h Tue Apr 07 05:28:58 2009 +0000 +++ b/libpurple/conversation.h Tue Apr 07 08:12:56 2009 +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