comparison src/account.h @ 12286:255e6912607b

[gaim-migrate @ 14590] Mostly whitespace, but a couple small typo fixes, and an A;B -> B;A; swap to be consistent in plugins/notify.c committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 01 Dec 2005 21:13:48 +0000
parents af257d8679fe
children fc464a0abccc
comparison
equal deleted inserted replaced
12285:af257d8679fe 12286:255e6912607b
47 const char *id, const char *alias, 47 const char *id, const char *alias,
48 const char *message); 48 const char *message);
49 void (*status_changed)(GaimAccount *account, GaimStatus *status); 49 void (*status_changed)(GaimAccount *account, GaimStatus *status);
50 /* Someone we don't have on our list added us. Will prompt to add them. */ 50 /* Someone we don't have on our list added us. Will prompt to add them. */
51 void (*request_add)(GaimAccount *account, const char *remote_user, 51 void (*request_add)(GaimAccount *account, const char *remote_user,
52 const char *id, const char *alis, 52 const char *id, const char *alias,
53 const char *message); 53 const char *message);
54 }; 54 };
55 55
56 struct _GaimAccount 56 struct _GaimAccount
57 { 57 {
140 * buddy list. 140 * buddy list.
141 * 141 *
142 * This will present a dialog informing the user that he was added to the 142 * This will present a dialog informing the user that he was added to the
143 * remote user's buddy list. 143 * remote user's buddy list.
144 * 144 *
145 * @param account The account that was added.
146 * @param remote_user The name of the user that added this account.
147 * @param id The optional ID of the local account. Rarely used.
148 * @param alias The optional alias of the user.
149 * @param message The optional message sent from the user adding you.
150 */
151 void gaim_account_notify_added(GaimAccount *account, const char *remote_user,
152 const char *id, const char *alias,
153 const char *message);
154
155 /**
156 * Notifies the user that the account was addded to a remote user's buddy
157 * list and asks ther user if they want to add the remote user to their buddy
158 * list.
159 *
160 * This will present a dialog informing the local user that the remote user
161 * added them to the remote user's buddy list and will ask if they want to add
162 * the remote user to the buddy list.
163 *
164 * @param account The account that was added. 145 * @param account The account that was added.
165 * @param remote_user The name of the user that added this account. 146 * @param remote_user The name of the user that added this account.
166 * @param id The optional ID of the local account. Rarely used. 147 * @param id The optional ID of the local account. Rarely used.
167 * @param alias The optional alias of the user. 148 * @param alias The optional alias of the user.
168 * @param message The optional message sent from the user adding you. 149 * @param message The optional message sent from the user adding you.
169 */ 150 */
151 void gaim_account_notify_added(GaimAccount *account, const char *remote_user,
152 const char *id, const char *alias,
153 const char *message);
154
155 /**
156 * Notifies the user that the account was addded to a remote user's buddy
157 * list and asks ther user if they want to add the remote user to their buddy
158 * list.
159 *
160 * This will present a dialog informing the local user that the remote user
161 * added them to the remote user's buddy list and will ask if they want to add
162 * the remote user to the buddy list.
163 *
164 * @param account The account that was added.
165 * @param remote_user The name of the user that added this account.
166 * @param id The optional ID of the local account. Rarely used.
167 * @param alias The optional alias of the user.
168 * @param message The optional message sent from the user adding you.
169 */
170 void gaim_account_request_add(GaimAccount *account, const char *remote_user, 170 void gaim_account_request_add(GaimAccount *account, const char *remote_user,
171 const char *id, const char *alias, 171 const char *id, const char *alias,
172 const char *message); 172 const char *message);
173 /** 173 /**
174 * Requests information from the user to change the account's password. 174 * Requests information from the user to change the account's password.