Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
17685:ea5258b0f67d | 17686:87b77f1ea086 |
---|---|
129 #define MSIM_STATUS_ORDINAL_UNKNOWN2 9 | 129 #define MSIM_STATUS_ORDINAL_UNKNOWN2 9 |
130 | 130 |
131 /* Status codes - states a buddy (or you!) can be in. */ | 131 /* Status codes - states a buddy (or you!) can be in. */ |
132 #define MSIM_STATUS_CODE_OFFLINE_OR_HIDDEN 0 | 132 #define MSIM_STATUS_CODE_OFFLINE_OR_HIDDEN 0 |
133 #define MSIM_STATUS_CODE_ONLINE 1 | 133 #define MSIM_STATUS_CODE_ONLINE 1 |
134 #define MSIM_STATUS_CODE_IDLE 2 | |
134 #define MSIM_STATUS_CODE_AWAY 5 | 135 #define MSIM_STATUS_CODE_AWAY 5 |
135 /* TODO: hidden */ | 136 /* TODO: hidden */ |
136 | 137 |
137 /* Random number in every MsimSession, to ensure it is valid. */ | 138 /* Random number in every MsimSession, to ensure it is valid. */ |
138 #define MSIM_SESSION_STRUCT_MAGIC 0xe4a6752b | 139 #define MSIM_SESSION_STRUCT_MAGIC 0xe4a6752b |
201 unsigned int msim_send_typing(PurpleConnection *gc, const gchar *name, PurpleTypingState state); | 202 unsigned int msim_send_typing(PurpleConnection *gc, const gchar *name, PurpleTypingState state); |
202 void msim_get_info_cb(MsimSession *session, MsimMessage *userinfo, gpointer data); | 203 void msim_get_info_cb(MsimSession *session, MsimMessage *userinfo, gpointer data); |
203 void msim_get_info(PurpleConnection *gc, const gchar *name); | 204 void msim_get_info(PurpleConnection *gc, const gchar *name); |
204 | 205 |
205 void msim_set_status(PurpleAccount *account, PurpleStatus *status); | 206 void msim_set_status(PurpleAccount *account, PurpleStatus *status); |
206 void msim_set_status_primitive(MsimSession *session, guint code); | 207 void msim_set_idle(PurpleConnection *gc, int time); |
208 void msim_set_status_code(MsimSession *session, guint code); | |
207 | 209 |
208 void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); | 210 void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); |
209 gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg); | 211 gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg); |
210 gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); | 212 gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); |
211 | 213 |