comparison 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
comparison
equal deleted inserted replaced
10339:3eb03f22e082 10340:84d73473c019
892 * @return A list of saved statuses. 892 * @return A list of saved statuses.
893 */ 893 */
894 const GList *gaim_statuses_get_saved(void); 894 const GList *gaim_statuses_get_saved(void);
895 895
896 /** 896 /**
897 * Finds a saved status with the specified status type and primary ID. 897 * Finds a saved status with the specified title.
898 * 898 *
899 * @param status_type The status type of the status. 899 * @param name The name of the saved status.
900 * @param id The primary attribute ID.
901 * 900 *
902 * @return The saved status if found, or NULL. 901 * @return The saved status if found, or NULL.
903 */ 902 */
904 GaimStatusSaved *gaim_statuses_find_saved(const GaimStatusType *status_type, 903 GaimStatusSaved *gaim_statuses_find_saved(const char *name);
905 const char *id);
906 904
907 /** 905 /**
908 * Return the name of a given saved status. 906 * Return the name of a given saved status.
909 * 907 *
910 * @param saved_status The saved status. 908 * @param saved_status The saved status.
912 * @return The name. 910 * @return The name.
913 */ 911 */
914 const char *gaim_statuses_saved_get_name(const GaimStatusSaved *saved_status); 912 const char *gaim_statuses_saved_get_name(const GaimStatusSaved *saved_status);
915 913
916 /** 914 /**
915 * Return the name of a given saved status.
916 *
917 * @param saved_status The saved status.
918 *
919 * @return The name.
920 */
921 const GaimStatusType *gaim_statuses_saved_get_type(const GaimStatusSaved *saved_status);
922
923 /**
924 * Return the name of a given saved status.
925 *
926 * @param saved_status The saved status.
927 *
928 * @return The name.
929 */
930 const char *gaim_statuses_saved_get_message(const GaimStatusSaved *saved_status);
931
932 /**
917 * Get the handle for the status subsystem. 933 * Get the handle for the status subsystem.
918 * 934 *
919 * @return the handle to the status subsystem 935 * @return the handle to the status subsystem
920 */ 936 */
921 void *gaim_statuses_get_handle(); 937 void *gaim_statuses_get_handle();