| 435 * @return The status attribute's name. |
435 * @return The status attribute's name. |
| 436 */ |
436 */ |
| 437 const char *gaim_status_attr_get_name(const GaimStatusAttr *attr); |
437 const char *gaim_status_attr_get_name(const GaimStatusAttr *attr); |
| 438 |
438 |
| 439 /** |
439 /** |
| 440 * Returns the value type of a status attribute. |
440 * Returns the value of a status attribute. |
| 441 * |
441 * |
| 442 * @param attr The status attribute. |
442 * @param attr The status attribute. |
| 443 * |
443 * |
| 444 * @return The status attribute's value type. |
444 * @return The status attribute's value. |
| 445 */ |
445 */ |
| 446 GaimValue *gaim_status_attr_get_value_type(const GaimStatusAttr *attr); |
446 GaimValue *gaim_status_attr_get_value(const GaimStatusAttr *attr); |
| 447 |
447 |
| 448 /*@}*/ |
448 /*@}*/ |
| 449 |
449 |
| 450 /**************************************************************************/ |
450 /**************************************************************************/ |
| 451 /** @name GaimStatus API */ |
451 /** @name GaimStatus API */ |
| 494 */ |
494 */ |
| 495 void gaim_status_set_active_with_attrs(GaimStatus *status, gboolean active, |
495 void gaim_status_set_active_with_attrs(GaimStatus *status, gboolean active, |
| 496 va_list args); |
496 va_list args); |
| 497 |
497 |
| 498 /** |
498 /** |
| |
499 * Sets whether or not a status is active. |
| |
500 * |
| |
501 * This should only be called by the account, conversation, and buddy APIs. |
| |
502 * |
| |
503 * @param status The status. |
| |
504 * @param active The active state. |
| |
505 * @param list A list of attributes to set on the status. This list is |
| |
506 * composed of key/value pairs, where each key is a valid |
| |
507 * attribute name for this GaimStatusType. |
| |
508 */ |
| |
509 void gaim_status_set_active_with_attrs_list(GaimStatus *status, gboolean active, |
| |
510 const GList *attrs); |
| |
511 |
| |
512 /** |
| 499 * Sets the boolean value of an attribute in a status with the specified ID. |
513 * Sets the boolean value of an attribute in a status with the specified ID. |
| 500 * |
514 * |
| 501 * @param status The status. |
515 * @param status The status. |
| 502 * @param id The attribute ID. |
516 * @param id The attribute ID. |
| 503 * @param value The boolean value. |
517 * @param value The boolean value. |