Mercurial > pidgin.yaz
comparison src/notify.h @ 11533:c9b815aeddc1
[gaim-migrate @ 13782]
Pushing more of the userinfo stuff to the UI. Also, fixed a notify API warning in the perl plugin.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Sep 2005 20:04:37 +0000 |
parents | bf763a1b2454 |
children | 216988c717da |
comparison
equal
deleted
inserted
replaced
11532:57439a383f4f | 11533:c9b815aeddc1 |
---|---|
124 void *user_data); | 124 void *user_data); |
125 void (*notify_searchresults_new_rows)(GaimConnection *gc, | 125 void (*notify_searchresults_new_rows)(GaimConnection *gc, |
126 GaimNotifySearchResults *results, | 126 GaimNotifySearchResults *results, |
127 void *data, void *user_data); | 127 void *data, void *user_data); |
128 void *(*notify_userinfo)(GaimConnection *gc, const char *who, | 128 void *(*notify_userinfo)(GaimConnection *gc, const char *who, |
129 const char *title, const char *primary, | 129 const char *text, |
130 const char *secondary, const char *text, | |
131 GCallback cb, void *user_data); | 130 GCallback cb, void *user_data); |
132 void *(*notify_uri)(const char *uri); | 131 void *(*notify_uri)(const char *uri); |
133 | 132 |
134 void (*close_notify)(GaimNotifyType type, void *ui_handle); | 133 void (*close_notify)(GaimNotifyType type, void *ui_handle); |
135 | 134 |
358 * the connection and username from which the user information came. | 357 * the connection and username from which the user information came. |
359 * | 358 * |
360 * The text is essentially a stripped-down format of HTML, the same that | 359 * The text is essentially a stripped-down format of HTML, the same that |
361 * IMs may send. | 360 * IMs may send. |
362 * | 361 * |
363 * @param gc The GaimConnection handle associated with the information. | 362 * @param gc The GaimConnection handle associated with the information. |
364 * @param who The username associated with the information. | 363 * @param who The username associated with the information. |
365 * @param primary The main point of the message. | |
366 * @param secondary The secondary information. | |
367 * @param text The formatted text. | 364 * @param text The formatted text. |
368 * @param cb The callback to call when the user closes | 365 * @param cb The callback to call when the user closes |
369 * the notification. | 366 * the notification. |
370 * @param user_data The data to pass to the callback. | 367 * @param user_data The data to pass to the callback. |
371 * | 368 * |
372 * @return A UI-specific handle. | 369 * @return A UI-specific handle. |
373 */ | 370 */ |
374 void *gaim_notify_userinfo(GaimConnection *gc, const char *who, | 371 void *gaim_notify_userinfo(GaimConnection *gc, const char *who, |
375 const char *primary, const char *secondary, | |
376 const char *text, GCallback cb, | 372 const char *text, GCallback cb, |
377 void *user_data); | 373 void *user_data); |
378 | 374 |
379 /** | 375 /** |
380 * Opens a URI or somehow presents it to the user. | 376 * Opens a URI or somehow presents it to the user. |