Mercurial > pidgin.yaz
comparison src/ft.h @ 12143:cbebda5f019c
[gaim-migrate @ 14444]
SF Patch #1360399 from Evan Schoenberg (evands)
"I discussed this previously with Mark and he said it'd be fine.
This factors out the part of the send_file function which creates a new
GaimXfer into a separate prpl function, new_xfer. It's called in each of the
existing send_file functions.
This is needed so that another client (okay, Adium) can get a new
outgoing GaimXfer from a prpl without depending upon the specific ft.c
logic of send_file; previously I was adding a duplicate method to each prpl
and then calling it directly."
I fixed a couple small bugs in this. Otherwise, it looks good, and seems like a reasonable libgaim request.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 19 Nov 2005 00:26:12 +0000 |
parents | 920a37a4c1be |
children | 2c65a3749ce1 |
comparison
equal
deleted
inserted
replaced
12142:0c672be21798 | 12143:cbebda5f019c |
---|---|
29 /** Data Structures */ | 29 /** Data Structures */ |
30 /**************************************************************************/ | 30 /**************************************************************************/ |
31 typedef struct _GaimXfer GaimXfer; | 31 typedef struct _GaimXfer GaimXfer; |
32 | 32 |
33 #include "account.h" | 33 #include "account.h" |
34 #include "internal.h" | |
34 | 35 |
35 /** | 36 /** |
36 * Types of file transfers. | 37 * Types of file transfers. |
37 */ | 38 */ |
38 typedef enum | 39 typedef enum |