Mercurial > pidgin
comparison src/status.h @ 10067:39142bdd5ba6
[gaim-migrate @ 11043]
This is sf patch 1031460, Added gaim_status_[type_]is_exclusive
So we can do
gaim_status_type_is_exlusive(status_type)
instead of
!gaim_status_type_is_independent(status_type)
Also, I'll be out of town all next week, starting Saturday (not that
it'll matter, I've barely had any Gaim-time the last week or two)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 27 Sep 2004 22:05:27 +0000 |
parents | 81059dce3aed |
children | af06746954de |
comparison
equal
deleted
inserted
replaced
10066:2c8a9f9a71e6 | 10067:39142bdd5ba6 |
---|---|
244 * @return TRUE if the status type is independent, or FALSE otherwise. | 244 * @return TRUE if the status type is independent, or FALSE otherwise. |
245 */ | 245 */ |
246 gboolean gaim_status_type_is_independent(const GaimStatusType *status_type); | 246 gboolean gaim_status_type_is_independent(const GaimStatusType *status_type); |
247 | 247 |
248 /** | 248 /** |
249 * Returns whether or not the status type is exlusive. | |
250 * | |
251 * @param status_type The status type. | |
252 * | |
253 * @return TRUE if the status type is exclusive, FALSE otherwise. | |
254 */ | |
255 gboolean gaim_status_type_is_exclusive(const GaimStatusType *status_type); | |
256 | |
257 /** | |
249 * Returns whether or not a status type is available. | 258 * Returns whether or not a status type is available. |
250 * | 259 * |
251 * Available status types are online and possibly hidden, but not away. | 260 * Available status types are online and possibly hidden, but not away. |
252 * | 261 * |
253 * @param status_type The status type. | 262 * @param status_type The status type. |
456 * @return TRUE if the status is independent, or FALSE otherwise. | 465 * @return TRUE if the status is independent, or FALSE otherwise. |
457 */ | 466 */ |
458 gboolean gaim_status_is_independent(const GaimStatus *status); | 467 gboolean gaim_status_is_independent(const GaimStatus *status); |
459 | 468 |
460 /** | 469 /** |
470 * Returns whether or not a status is exclusive. | |
471 * | |
472 * This is a convenience method for | |
473 * gaim_status_type_is_exclusive(gaim_status_get_type(status)). | |
474 * | |
475 * @param status The status. | |
476 * | |
477 * @return TRUE if the status is exclusive, FALSE otherwise. | |
478 */ | |
479 gboolean gaim_status_is_exclusive(const GaimStatus *status); | |
480 | |
481 /** | |
461 * Returns whether or not a status is available. | 482 * Returns whether or not a status is available. |
462 * | 483 * |
463 * Available statuses are online and possibly hidden, but not away or idle. | 484 * Available statuses are online and possibly hidden, but not away or idle. |
464 * | 485 * |
465 * This is a convenience method for | 486 * This is a convenience method for |