comparison src/status.h @ 10204:393f85d9f8dd

[gaim-migrate @ 11325] I moved some code from account.c to status.c. It's better there. This shouldn't hurt anything. In other news, the status API makes me hot. What makes you hot? Something that you want but you haven't got MartinFowlerSaysWhat? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 19 Nov 2004 03:08:27 +0000
parents d83e6f2125b1
children 682201b69107
comparison
equal deleted inserted replaced
10203:7ff9b8b22e7d 10204:393f85d9f8dd
375 /** 375 /**
376 * Sets whether or not a status is active. 376 * Sets whether or not a status is active.
377 * 377 *
378 * This should only be called by the account, conversation, and buddy APIs. 378 * This should only be called by the account, conversation, and buddy APIs.
379 * 379 *
380 * @param status The status. 380 * @param status The status.
381 * @param active The active state. 381 * @param active The active state.
382 */ 382 */
383 void gaim_status_set_active(GaimStatus *status, gboolean active); 383 void gaim_status_set_active(GaimStatus *status, gboolean active);
384
385 /**
386 * Sets whether or not a status is active.
387 *
388 * This should only be called by the account, conversation, and buddy APIs.
389 *
390 * @param status The status.
391 * @param active The active state.
392 * @param args A list of attributes to set on the status. This list is
393 * composed of key/value pairs, where each key is a valid
394 * attribute name for this GaimStatusType. The list should
395 * be NULL terminated.
396 */
397 void gaim_status_set_active_with_attrs(GaimStatus *status, gboolean active,
398 va_list args);
384 399
385 /** 400 /**
386 * Sets the boolean value of an attribute in a status with the specified ID. 401 * Sets the boolean value of an attribute in a status with the specified ID.
387 * 402 *
388 * @param status The status. 403 * @param status The status.