comparison src/ft.h @ 5169:71927464a1db

[gaim-migrate @ 5533] I needed to do this for getfile. Basically, I added a new ui operation for when a new xfer is created. The ui operation creates the needed ui data. Previously it was done when the file was choosen, but with getfile, when sending files to other peeps there isn't a "save file" or "choose file to send" dialog. Ya catch my drift? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 21:01:38 +0000
parents 4691c5936c01
children d557a53e35c5
comparison
equal deleted inserted replaced
5168:0f31d00d2501 5169:71927464a1db
45 * Any UI representing a file transfer must assign a filled-out 45 * Any UI representing a file transfer must assign a filled-out
46 * gaim_xfer_ui_ops structure to the gaim_xfer. 46 * gaim_xfer_ui_ops structure to the gaim_xfer.
47 */ 47 */
48 struct gaim_xfer_ui_ops 48 struct gaim_xfer_ui_ops
49 { 49 {
50 void (*new)(struct gaim_xfer *xfer);
50 void (*destroy)(struct gaim_xfer *xfer); 51 void (*destroy)(struct gaim_xfer *xfer);
51 void (*request_file)(struct gaim_xfer *xfer); 52 void (*request_file)(struct gaim_xfer *xfer);
52 void (*ask_cancel)(struct gaim_xfer *xfer); 53 void (*ask_cancel)(struct gaim_xfer *xfer);
53 void (*add_xfer)(struct gaim_xfer *xfer); 54 void (*add_xfer)(struct gaim_xfer *xfer);
54 void (*update_progress)(struct gaim_xfer *xfer, double percent); 55 void (*update_progress)(struct gaim_xfer *xfer, double percent);