Mercurial > pidgin
diff libpurple/status.h @ 29435:11cb7f2bb6e8
Add a PURPLE_STATUS_MOOD primitive and change ICQ to use it.
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Mon, 17 Nov 2008 00:43:59 +0000 |
| parents | 21f1acb9090f |
| children | cdd5c6929c52 |
line wrap: on
line diff
--- a/libpurple/status.h Sun Nov 16 19:17:27 2008 +0000 +++ b/libpurple/status.h Mon Nov 17 00:43:59 2008 +0000 @@ -96,8 +96,7 @@ */ /* * If you add a value to this enum, make sure you update - * the status_primitive_map array in status.c and the special-cases for idle - * and offline-messagable just below it. + * the status_primitive_map and primitive_scores arrays in status.c. */ typedef enum { @@ -110,6 +109,7 @@ PURPLE_STATUS_EXTENDED_AWAY, PURPLE_STATUS_MOBILE, PURPLE_STATUS_TUNE, + PURPLE_STATUS_MOOD, PURPLE_STATUS_NUM_PRIMITIVES } PurpleStatusPrimitive; @@ -129,6 +129,9 @@ #define PURPLE_TUNE_URL "tune_url" #define PURPLE_TUNE_FULL "tune_full" +#define PURPLE_MOOD_NAME "mood" +#define PURPLE_MOOD_COMMENT "moodtext" + #ifdef __cplusplus extern "C" { #endif
