comparison src/savedstatuses.h @ 12080:3b52d94437f3

[gaim-migrate @ 14377] The rest of sf patch #1354886, from Sadrul Habib Chowdhury, with an EXTREME amount of changes from me. Come to me, first, if something doesn't work. This allows you to edit the substatuses of a saved status. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Nov 2005 07:20:22 +0000
parents 6dc48f991b8d
children 3c1bac709234
comparison
equal deleted inserted replaced
12079:15732b01ea3d 12080:3b52d94437f3
97 * @param account The account. 97 * @param account The account.
98 * @param type The status type for the account in the staved 98 * @param type The status type for the account in the staved
99 * status. 99 * status.
100 * @param message The message for the account in the substatus. 100 * @param message The message for the account in the substatus.
101 */ 101 */
102 void gaim_savedstatus_set_substatus_for_account(GaimSavedStatus *status, 102 void gaim_savedstatus_set_substatus(GaimSavedStatus *status,
103 const GaimAccount *account, 103 const GaimAccount *account,
104 const GaimStatusType *type, 104 const GaimStatusType *type,
105 const char *message); 105 const char *message);
106 106
107 /** 107 /**
108 * Unset a substatus for an account in a saved status. This clears 108 * Unset a substatus for an account in a saved status. This clears
109 * the previosly set substatus for the GaimSavedStatus. If this 109 * the previosly set substatus for the GaimSavedStatus. If this
110 * saved status is activated then this account will use the default 110 * saved status is activated then this account will use the default
111 * status type and message. 111 * status type and message.
112 * 112 *
113 * @param status The saved status. 113 * @param status The saved status.
114 * @param account The account. 114 * @param account The account.
115 */ 115 */
116 void gaim_savedstatus_unset_substatus_for_account(GaimSavedStatus *saved_status, 116 void gaim_savedstatus_unset_substatus(GaimSavedStatus *saved_status,
117 const GaimAccount *account); 117 const GaimAccount *account);
118 118
119 /** 119 /**
120 * Delete a saved status. This removes the saved status from the list 120 * Delete a saved status. This removes the saved status from the list
121 * of saved statuses, and writes the revised list to status.xml. 121 * of saved statuses, and writes the revised list to status.xml.
210 * 210 *
211 * @return The GaimSavedStatusSub for the account, or NULL if 211 * @return The GaimSavedStatusSub for the account, or NULL if
212 * the given account does not have a substatus that 212 * the given account does not have a substatus that
213 * differs from the default status of this GaimSavedStatus. 213 * differs from the default status of this GaimSavedStatus.
214 */ 214 */
215 GaimSavedStatusSub *gaim_savedstatus_get_substatus_for_account( 215 GaimSavedStatusSub *gaim_savedstatus_get_substatus(
216 const GaimSavedStatus *saved_status, 216 const GaimSavedStatus *saved_status,
217 const GaimAccount *account); 217 const GaimAccount *account);
218 218
219 /** 219 /**
220 * Get the status type of a given substatus. 220 * Get the status type of a given substatus.