Mercurial > pidgin.yaz
comparison src/account.h @ 11739:a25be0e70a67
[gaim-migrate @ 14030]
I changed the GtkStatusBox list stores to use an enum instead of a string
to identify the items in the GtkStatusBox. This feels a lot cleaner to me
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 06:46:07 +0000 |
parents | 03c813a42c76 |
children | 4baf0aa3158e |
comparison
equal
deleted
inserted
replaced
11738:992d49cf2b92 | 11739:a25be0e70a67 |
---|---|
549 | 549 |
550 /** | 550 /** |
551 * Returns the account status type with the specified ID. | 551 * Returns the account status type with the specified ID. |
552 * | 552 * |
553 * @param account The account. | 553 * @param account The account. |
554 * @param id The ID of the status type. | 554 * @param id The ID of the status type to find. |
555 * | 555 * |
556 * @return The status type if found, or NULL. | 556 * @return The status type if found, or NULL. |
557 */ | 557 */ |
558 GaimStatusType *gaim_account_get_status_type(const GaimAccount *account, | 558 GaimStatusType *gaim_account_get_status_type(const GaimAccount *account, |
559 const char *id); | 559 const char *id); |
560 | |
561 /** | |
562 * Returns the account status type with the specified primitive. | |
563 * Note: It is possible for an account to have more than one | |
564 * GaimStatusType with the same primitive. In this case, the | |
565 * first GaimStatusType is returned. | |
566 * | |
567 * @param account The account. | |
568 * @param primitive The type of the status type to find. | |
569 * | |
570 * @return The status if found, or NULL. | |
571 */ | |
572 GaimStatusType *gaim_account_get_status_type_with_primitive( | |
573 const GaimAccount *account, | |
574 GaimStatusPrimitive primitive); | |
560 | 575 |
561 /** | 576 /** |
562 * Returns the account's presence. | 577 * Returns the account's presence. |
563 * | 578 * |
564 * @param account The account. | 579 * @param account The account. |