| 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 |