Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 20149:be2538a92099
Comment a partial implementation of the libpurple attention API for
XMPP. The implemented functions in the prpl_info struct are not yet
used, and requires further testing.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 23 Sep 2007 20:30:57 +0000 |
parents | d32ed28cf645 |
children | bde477ec6a71 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Tue Sep 18 01:08:46 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.h Sun Sep 23 20:30:57 2007 +0000 @@ -66,6 +66,9 @@ #define CAPS0115_NODE "http://pidgin.im/caps" +/* Index into attention_types list */ +#define JABBER_BUZZ 0 + typedef enum { JABBER_STREAM_OFFLINE, JABBER_STREAM_CONNECTING, @@ -231,6 +234,8 @@ void jabber_register_gateway(JabberStream *js, const char *gateway); void jabber_register_account(PurpleAccount *account); void jabber_unregister_account(PurpleAccount *account, PurpleAccountUnregistrationCb cb, void *user_data); +gboolean jabber_send_attention(PurpleConnection *gc, const char *username, guint code); +GList *jabber_attention_types(PurpleAccount *account); void jabber_convo_closed(PurpleConnection *gc, const char *who); PurpleChat *jabber_find_blist_chat(PurpleAccount *account, const char *name); gboolean jabber_offline_message(const PurpleBuddy *buddy);