Mercurial > pidgin
comparison src/notify.h @ 10240:95ca0db2d01d
[gaim-migrate @ 11377]
Removing trust parameter for gaim_notify_uri (see gaim-devel over past few
days). Removed URI scheme filtering for win32. Instead we'll allow what ever
the default http browser allows.
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Mon, 22 Nov 2004 22:13:12 +0000 |
| parents | 9e0b98c458b1 |
| children | 911530134bf8 |
comparison
equal
deleted
inserted
replaced
| 10239:d0558652e0c4 | 10240:95ca0db2d01d |
|---|---|
| 76 GCallback cb, void *user_data); | 76 GCallback cb, void *user_data); |
| 77 void *(*notify_userinfo)(GaimConnection *gc, const char *who, | 77 void *(*notify_userinfo)(GaimConnection *gc, const char *who, |
| 78 const char *title, const char *primary, | 78 const char *title, const char *primary, |
| 79 const char *secondary, const char *text, | 79 const char *secondary, const char *text, |
| 80 GCallback cb, void *user_data); | 80 GCallback cb, void *user_data); |
| 81 void *(*notify_uri)(const char *uri, gboolean trusted); | 81 void *(*notify_uri)(const char *uri); |
| 82 | 82 |
| 83 void (*close_notify)(GaimNotifyType type, void *ui_handle); | 83 void (*close_notify)(GaimNotifyType type, void *ui_handle); |
| 84 | 84 |
| 85 } GaimNotifyUiOps; | 85 } GaimNotifyUiOps; |
| 86 | 86 |
| 200 GCallback cb, void *user_data); | 200 GCallback cb, void *user_data); |
| 201 | 201 |
| 202 /** | 202 /** |
| 203 * Opens a URI or somehow presents it to the user. | 203 * Opens a URI or somehow presents it to the user. |
| 204 * | 204 * |
| 205 * @param handle The plugin or connection handle. | 205 * @param handle The plugin or connection handle. |
| 206 * @param uri The URI to display or go to. | 206 * @param uri The URI to display or go to. |
| 207 * @param trusted The source of the URI is trusted. | |
| 208 * | 207 * |
| 209 * @return A UI-specific handle, if any. This may only be presented if | 208 * @return A UI-specific handle, if any. This may only be presented if |
| 210 * the UI code displays a dialog instead of a webpage, or something | 209 * the UI code displays a dialog instead of a webpage, or something |
| 211 * similar. | 210 * similar. |
| 212 */ | 211 */ |
| 213 void *gaim_notify_uri(void *handle, const char *uri, gboolean trusted); | 212 void *gaim_notify_uri(void *handle, const char *uri); |
| 214 | 213 |
| 215 /** | 214 /** |
| 216 * Closes a notification. | 215 * Closes a notification. |
| 217 * | 216 * |
| 218 * This should be used only by the UI operation functions and part of the | 217 * This should be used only by the UI operation functions and part of the |
