libpurple/savedstatuses.h

changeset 42391
090b03385984
parent 41199
72afb5d62f12
child 42400
64c85dc25cd4
equal deleted inserted replaced
42390:c2cd0378e212 42391:090b03385984
60 typedef struct _PurpleSavedStatus PurpleSavedStatus; 60 typedef struct _PurpleSavedStatus PurpleSavedStatus;
61 61
62 typedef struct _PurpleSavedStatusSub PurpleSavedStatusSub; 62 typedef struct _PurpleSavedStatusSub PurpleSavedStatusSub;
63 63
64 #include "status.h" 64 #include "status.h"
65 #include "purpleversion.h"
65 66
66 G_BEGIN_DECLS 67 G_BEGIN_DECLS
67 68
68 /**************************************************************************/ 69 /**************************************************************************/
69 /* Saved status subsystem */ 70 /* Saved status subsystem */
111 * purple_savedstatus_set_primitive_type: 112 * purple_savedstatus_set_primitive_type:
112 * @status: The saved status. 113 * @status: The saved status.
113 * @type: The type of saved status. 114 * @type: The type of saved status.
114 * 115 *
115 * Set the type for the given saved status. 116 * Set the type for the given saved status.
116 */ 117 *
118 * Since: 3.0.0
119 */
120 PURPLE_AVAILABLE_IN_3_0
117 void purple_savedstatus_set_primitive_type(PurpleSavedStatus *status, 121 void purple_savedstatus_set_primitive_type(PurpleSavedStatus *status,
118 PurpleStatusPrimitive type); 122 PurpleStatusPrimitive type);
119 123
120 /** 124 /**
121 * purple_savedstatus_set_message: 125 * purple_savedstatus_set_message:
340 * @saved_status: The saved status. 344 * @saved_status: The saved status.
341 * 345 *
342 * Return the type of a given saved status. 346 * Return the type of a given saved status.
343 * 347 *
344 * Returns: The primitive type. 348 * Returns: The primitive type.
345 */ 349 *
350 * Since: 3.0.0
351 */
352 PURPLE_AVAILABLE_IN_3_0
346 PurpleStatusPrimitive purple_savedstatus_get_primitive_type(const PurpleSavedStatus *saved_status); 353 PurpleStatusPrimitive purple_savedstatus_get_primitive_type(const PurpleSavedStatus *saved_status);
347 354
348 /** 355 /**
349 * purple_savedstatus_get_message: 356 * purple_savedstatus_get_message:
350 * @saved_status: The saved status. 357 * @saved_status: The saved status.
409 * @substatus: The substatus. 416 * @substatus: The substatus.
410 * 417 *
411 * Get the status type of a given substatus. 418 * Get the status type of a given substatus.
412 * 419 *
413 * Returns: The status type. 420 * Returns: The status type.
414 */ 421 *
422 * Since: 3.0.0
423 */
424 PURPLE_AVAILABLE_IN_3_0
415 const PurpleStatusType *purple_savedstatus_substatus_get_status_type( 425 const PurpleStatusType *purple_savedstatus_substatus_get_status_type(
416 const PurpleSavedStatusSub *substatus); 426 const PurpleSavedStatusSub *substatus);
417 427
418 /** 428 /**
419 * purple_savedstatus_substatus_get_message: 429 * purple_savedstatus_substatus_get_message:

mercurial