diff 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
line wrap: on
line diff
--- a/src/status.h	Mon Sep 27 21:48:56 2004 +0000
+++ b/src/status.h	Mon Sep 27 22:05:27 2004 +0000
@@ -246,6 +246,15 @@
 gboolean gaim_status_type_is_independent(const GaimStatusType *status_type);
 
 /**
+ * Returns whether or not the status type is exlusive.
+ *
+ * @param status_type The status type.
+ *
+ * @return TRUE if the status type is exclusive, FALSE otherwise.
+ */
+gboolean gaim_status_type_is_exclusive(const GaimStatusType *status_type);
+
+/**
  * Returns whether or not a status type is available.
  *
  * Available status types are online and possibly hidden, but not away.
@@ -458,6 +467,18 @@
 gboolean gaim_status_is_independent(const GaimStatus *status);
 
 /**
+ * Returns whether or not a status is exclusive.
+ *
+ * This is a convenience method for
+ * gaim_status_type_is_exclusive(gaim_status_get_type(status)).
+ *
+ * @param status The status.
+ *
+ * @return TRUE if the status is exclusive, FALSE otherwise.
+ */
+gboolean gaim_status_is_exclusive(const GaimStatus *status);
+
+/**
  * Returns whether or not a status is available.
  *
  * Available statuses are online and possibly hidden, but not away or idle.