Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17686:87b77f1ea086
Add support for idle.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 04 Jul 2007 19:05:21 +0000 |
parents | e440846f9a21 |
children | d0c8b7748065 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Wed Jul 04 06:37:08 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Wed Jul 04 19:05:21 2007 +0000 @@ -131,6 +131,7 @@ /* Status codes - states a buddy (or you!) can be in. */ #define MSIM_STATUS_CODE_OFFLINE_OR_HIDDEN 0 #define MSIM_STATUS_CODE_ONLINE 1 +#define MSIM_STATUS_CODE_IDLE 2 #define MSIM_STATUS_CODE_AWAY 5 /* TODO: hidden */ @@ -203,7 +204,8 @@ void msim_get_info(PurpleConnection *gc, const gchar *name); void msim_set_status(PurpleAccount *account, PurpleStatus *status); -void msim_set_status_primitive(MsimSession *session, guint code); +void msim_set_idle(PurpleConnection *gc, int time); +void msim_set_status_code(MsimSession *session, guint code); void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg);