diff src/status.h @ 10418:bed2c96bc1fb

[gaim-migrate @ 11669] I split the status-saving code into it's own little API, because it really is separate from the other status.c savedstatuses.c sits on top of the rest of the status API. And you can delete saved statuses now. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 26 Dec 2004 00:46:26 +0000
parents 64bc206c7473
children c9b1f3fac753
line wrap: on
line diff
--- a/src/status.h	Sat Dec 25 20:24:17 2004 +0000
+++ b/src/status.h	Sun Dec 26 00:46:26 2004 +0000
@@ -29,8 +29,6 @@
 typedef struct _GaimStatusAttr      GaimStatusAttr;
 typedef struct _GaimPresence        GaimPresence;
 typedef struct _GaimStatus          GaimStatus;
-typedef struct _GaimStatusSavedSub  GaimStatusSavedSub;
-typedef struct _GaimStatusSaved     GaimStatusSaved;
 
 /**
  * A context for a presence.
@@ -900,74 +898,21 @@
 /*@{*/
 
 /**
- * Returns all saved statuses.
- *
- * @return A list of saved statuses.
- */
-const GList *gaim_statuses_get_saved(void);
-
-/**
- * Finds a saved status with the specified title.
- *
- * @param title The name of the saved status.
- *
- * @return The saved status if found, or NULL.
- */
-GaimStatusSaved *gaim_statuses_find_saved(const char *title);
-
-/**
- * Return the name of a given saved status.
- *
- * @param saved_status The saved status.
- *
- * @return The title.
- */
-const char *gaim_statuses_saved_get_title(const GaimStatusSaved *saved_status);
-
-/**
- * Return the name of a given saved status.
- *
- * @param saved_status The saved status.
- *
- * @return The name.
- */
-GaimStatusPrimitive 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
  */
-void *gaim_statuses_get_handle();
+void *gaim_status_get_handle();
 
 /**
  * Initializes the status subsystem.
  */
-void gaim_statuses_init(void);
+void gaim_status_init(void);
 
 /**
  * Uninitializes the status subsystem.
  */
-void gaim_statuses_uninit(void);
-
-/**
- * Syncs status information from a file.
- */
-void gaim_statuses_load(void);
-
-/**
- * Syncs status information to the file.
- */
-void gaim_statuses_sync(void);
+void gaim_status_uninit(void);
 
 /*@}*/