Mercurial > pidgin
comparison src/gtkutils.h @ 7712:2823111061ba
[gaim-migrate @ 8357]
I did a few things to my drag-and-drop patch. First, I moved the
application/x-im-contact parsing code into its own function, so we don't
have to duplicate stuff. The reason I did this is because Sean suggested
support for dragging x-im-contacts into conversation windows, which is
also implemented now, and it rocks. :)
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Wed, 03 Dec 2003 02:03:25 +0000 |
| parents | 357eb1c39b72 |
| children | d691cb95ee67 |
comparison
equal
deleted
inserted
replaced
| 7711:ebd43be54140 | 7712:2823111061ba |
|---|---|
| 311 /** | 311 /** |
| 312 * Load menu accelerators | 312 * Load menu accelerators |
| 313 */ | 313 */ |
| 314 void gaim_gtk_load_accels(); | 314 void gaim_gtk_load_accels(); |
| 315 | 315 |
| 316 /** | |
| 317 * Parses an application/x-im-contact MIME message and returns the | |
| 318 * data inside. | |
| 319 * | |
| 320 * @param msg The MIME message. | |
| 321 * @param all_accounts If TRUE, check all compatible accounts, online or | |
| 322 * offline. If FALSE, check only online accounts. | |
| 323 * @param ret_account The best guess at a compatible protocol, | |
| 324 * based on ret_protocol. If NULL, no account was found. | |
| 325 * @param ret_protocol The returned protocol type. | |
| 326 * @param ret_username The returned username. | |
| 327 * @param ret_alias The returned alias. | |
| 328 * | |
| 329 * @return TRUE if the message was parsed for the minimum necessary data. | |
| 330 * FALSE otherwise. | |
| 331 */ | |
| 332 gboolean gaim_gtk_parse_x_im_contact(const char *msg, gboolean all_accounts, | |
| 333 GaimAccount **ret_account, | |
| 334 char **ret_protocol, char **ret_username, | |
| 335 char **ret_alias); | |
| 336 | |
| 316 #endif /* _GAIM_GTK_UTILS_H_ */ | 337 #endif /* _GAIM_GTK_UTILS_H_ */ |
