Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/status.h Thu Nov 18 17:05:40 2004 +0000 +++ b/src/status.h Fri Nov 19 03:08:27 2004 +0000 @@ -377,12 +377,27 @@ * * This should only be called by the account, conversation, and buddy APIs. * - * @param status The status. + * @param status The status. * @param active The active state. */ void gaim_status_set_active(GaimStatus *status, gboolean active); /** + * Sets whether or not a status is active. + * + * This should only be called by the account, conversation, and buddy APIs. + * + * @param status The status. + * @param active The active state. + * @param args A list of attributes to set on the status. This list is + * composed of key/value pairs, where each key is a valid + * attribute name for this GaimStatusType. The list should + * be NULL terminated. + */ +void gaim_status_set_active_with_attrs(GaimStatus *status, gboolean active, + va_list args); + +/** * Sets the boolean value of an attribute in a status with the specified ID. * * @param status The status.