comparison src/connection.h @ 5571:113090160626

[gaim-migrate @ 5973] Here you go, faceprint. gaim_connection_notice(). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 23:03:02 +0000
parents 187c740f2a4e
children 1d140b31d4b3
comparison
equal deleted inserted replaced
5570:dc90686acedd 5571:113090160626
44 void (*connect_progress)(GaimConnection *gc, const char *text, 44 void (*connect_progress)(GaimConnection *gc, const char *text,
45 size_t step, size_t step_count); 45 size_t step, size_t step_count);
46 void (*connected)(GaimConnection *gc); 46 void (*connected)(GaimConnection *gc);
47 void (*request_pass)(GaimConnection *gc); 47 void (*request_pass)(GaimConnection *gc);
48 void (*disconnected)(GaimConnection *gc, const char *reason); 48 void (*disconnected)(GaimConnection *gc, const char *reason);
49 void (*notice)(GaimConnection *gc, const char *text);
49 50
50 } GaimConnectionUiOps; 51 } GaimConnectionUiOps;
51 52
52 struct _GaimConnection 53 struct _GaimConnection
53 { 54 {
176 */ 177 */
177 void gaim_connection_update_progress(GaimConnection *gc, const char *text, 178 void gaim_connection_update_progress(GaimConnection *gc, const char *text,
178 size_t step, size_t count); 179 size_t step, size_t count);
179 180
180 /** 181 /**
182 * Displays a connection-specific notice.
183 *
184 * @param gc The connection.
185 * @param text The notice text.
186 */
187 void gaim_connection_notice(GaimConnection *gc, const char *text);
188
189 /**
181 * Closes a connection with an error. 190 * Closes a connection with an error.
182 * 191 *
183 * @param gc The connection. 192 * @param gc The connection.
184 * @param reason The error text. 193 * @param reason The error text.
185 */ 194 */