diff src/status.h @ 10340:84d73473c019

[gaim-migrate @ 11549] Minor improvements. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Dec 2004 05:22:18 +0000
parents 682201b69107
children 64bc206c7473
line wrap: on
line diff
--- a/src/status.h	Thu Dec 09 05:21:39 2004 +0000
+++ b/src/status.h	Thu Dec 09 05:22:18 2004 +0000
@@ -894,15 +894,13 @@
 const GList *gaim_statuses_get_saved(void);
 
 /**
- * Finds a saved status with the specified status type and primary ID.
+ * Finds a saved status with the specified title.
  *
- * @param status_type The status type of the status.
- * @param id          The primary attribute ID.
+ * @param name The name of the saved status.
  *
  * @return The saved status if found, or NULL.
  */
-GaimStatusSaved *gaim_statuses_find_saved(const GaimStatusType *status_type,
-										  const char *id);
+GaimStatusSaved *gaim_statuses_find_saved(const char *name);
 
 /**
  * Return the name of a given saved status.
@@ -914,6 +912,24 @@
 const char *gaim_statuses_saved_get_name(const GaimStatusSaved *saved_status);
 
 /**
+ * Return the name of a given saved status.
+ *
+ * @param saved_status The saved status.
+ *
+ * @return The name.
+ */
+const GaimStatusType *gaim_statuses_saved_get_type(const GaimStatusSaved *saved_status);
+
+/**
+ * Return the name of a given saved status.
+ *
+ * @param saved_status The saved status.
+ *
+ * @return The name.
+ */
+const char *gaim_statuses_saved_get_message(const GaimStatusSaved *saved_status);
+
+/**
  * Get the handle for the status subsystem.
  *
  * @return the handle to the status subsystem