diff libpurple/prpl.h @ 15523:84b3ab83df35

Use the status API to handle mobileness, and convert AIM to use it. This makes mobile buddies prioritze lower in Perons, and ensures the UI is notified of changes in mobileness. Other protocols to follow.
author Sean Egan <seanegan@gmail.com>
date Sun, 04 Feb 2007 02:31:04 +0000
parents 0b6f337a46d5
children 32c366eeeb99
line wrap: on
line diff
--- a/libpurple/prpl.h	Sat Feb 03 23:32:43 2007 +0000
+++ b/libpurple/prpl.h	Sun Feb 04 02:31:04 2007 +0000
@@ -388,7 +388,7 @@
 								   time_t login_time);
 
 /**
- * Notifies Gaim that a user's status has changed.
+ * Notifies Gaim that a user's status has been activated.
  *
  * This is meant to be called from protocol plugins.
  *
@@ -400,6 +400,19 @@
  */
 void gaim_prpl_got_user_status(GaimAccount *account, const char *name,
 							   const char *status_id, ...);
+
+/**
+ * Notifies libpurple that a user's status has been deactivated
+ *
+ * This is meant to be called from protocol plugins.
+ *
+ * @param account   The account the user is on.
+ * @param name      The screen name of the user.
+ * @param status_id The status ID.
+ */
+void gaim_prpl_got_user_status_deactive(GaimAccount *account, const char *name,
+					const char *status_id);
+ 
 /**
  * Informs the server that an account's status changed.
  *