22 #ifndef _PURPLE_STATUS_H_
23 #define _PURPLE_STATUS_H_
86 typedef struct _PurpleStatusAttr PurpleStatusAttr;
87 typedef struct _PurplePresence PurplePresence;
88 typedef struct _PurpleStatus PurpleStatus;
92 const char *description;
103 PURPLE_PRESENCE_CONTEXT_UNSET = 0,
104 PURPLE_PRESENCE_CONTEXT_ACCOUNT,
105 PURPLE_PRESENCE_CONTEXT_CONV,
106 PURPLE_PRESENCE_CONTEXT_BUDDY
119 PURPLE_STATUS_UNSET = 0,
120 PURPLE_STATUS_OFFLINE,
121 PURPLE_STATUS_AVAILABLE,
122 PURPLE_STATUS_UNAVAILABLE,
123 PURPLE_STATUS_INVISIBLE,
125 PURPLE_STATUS_EXTENDED_AWAY,
126 PURPLE_STATUS_MOBILE,
129 PURPLE_STATUS_NUM_PRIMITIVES
137 #define PURPLE_TUNE_ARTIST "tune_artist"
138 #define PURPLE_TUNE_TITLE "tune_title"
139 #define PURPLE_TUNE_ALBUM "tune_album"
140 #define PURPLE_TUNE_GENRE "tune_genre"
141 #define PURPLE_TUNE_COMMENT "tune_comment"
142 #define PURPLE_TUNE_TRACK "tune_track"
143 #define PURPLE_TUNE_TIME "tune_time"
144 #define PURPLE_TUNE_YEAR "tune_year"
145 #define PURPLE_TUNE_URL "tune_url"
146 #define PURPLE_TUNE_FULL "tune_full"
148 #define PURPLE_MOOD_NAME "mood"
149 #define PURPLE_MOOD_COMMENT "moodtext"
215 const char *
id,
const char *name,
217 gboolean user_settable,
218 gboolean independent);
234 const char *
id,
const char *name,
235 gboolean user_settable);
261 gboolean user_settable,
262 gboolean independent,
264 const char *attr_name,
265 PurpleValue *attr_value, ...) G_GNUC_NULL_TERMINATED;
274 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
288 const char *attr_id);
291 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
308 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
323 const char *name,
PurpleValue *value, ...) G_GNUC_NULL_TERMINATED;
326 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
422 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
536 PurplePresence *presence);
585 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
600 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
615 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
836 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
849 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_STATUS_C_)
874 const char *status_id, gboolean active);
886 const char *status_id);
973 const char *status_id);
1015 const char *status_id);
1071 const PurplePresence *presence2);