Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17674:e24d44e3b6d2
Recognize online/away status of buddies on buddy list.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 02 Jul 2007 01:45:30 +0000 |
parents | 7e4e3f6582d2 |
children | 608e4b47dfae |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Sun Jul 01 23:33:27 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Mon Jul 02 01:45:30 2007 +0000 @@ -129,6 +129,11 @@ #define MSIM_STATUS_ORDINAL_UNKNOWNp 8 #define MSIM_STATUS_ORDINAL_UNKNOWN2 9 +/* Status codes - states a buddy (or you!) can be in. */ +#define MSIM_STATUS_CODE_OFFLINE 0 /* or hidden */ +#define MSIM_STATUS_CODE_ONLINE 1 +#define MSIM_STATUS_CODE_AWAY 5 + /* Random number in every MsimSession, to ensure it is valid. */ #define MSIM_SESSION_STRUCT_MAGIC 0xe4a6752b