diff libpurple/protocols/myspace/myspace.h @ 19243:a242e014ab8c

Re-apply the msimprpl-specific parts of revision b888bc5c0494c9dd0398baba81e4d602ac88948f, my initial proposal of an attention API. So now libpurple isn't changed, only msimprpl. This patch is also available here: http://msimprpl.darkthoughts.net/attention1-msimprpl-only.diff Libpurple's changes: http://msimprpl.darkthoughts.net/attention1.diff (Now 'mtn disapprove'd, so that im.pidgin.soc.2007.msimprpl can be merged into im.pidgin.pidgin before 2.2.0, since it is an API addition.) Both patches: http://msimprpl.darkthoughts.net/attention1-full.diff (Complete diff of revision b888bc...) See also: http://pidgin.im/pipermail/devel/2007-August/002636.html
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Tue, 14 Aug 2007 02:54:31 +0000
parents 6ea5602643ea
children b29788c6d269
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Tue Aug 14 02:45:41 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Tue Aug 14 02:54:31 2007 +0000
@@ -67,6 +67,9 @@
  * you want to actually use the plugin! */
 /*#define MSIM_SELF_TEST            */
 
+/* Use the attention API for zaps? */
+#define MSIM_USE_ATTENTION_API
+
 /* Constants */
 
 /* Maximum length of a password that is acceptable. This is the limit
@@ -231,6 +234,9 @@
 gboolean msim_load(PurplePlugin *plugin);
 GList *msim_status_types(PurpleAccount *acct);
 
+GList *msim_attention_types(PurpleAccount *acct);
+gboolean msim_send_attention(PurpleConnection *gc, gchar *username, guint code);
+
 GList *msim_blist_node_menu(PurpleBlistNode *node);
 
 const gchar *msim_list_icon(PurpleAccount *acct, PurpleBuddy *buddy);