comparison src/gtk/gtkui_transfer.c @ 377:14da115b149b

2003-1-23 Brian Masney <masneyb@gftp.org> * src/text/gftp-text.c src/uicommon/gftpui.c - added file transfer functions to the command line. * src/uicommon/gftpui_transfer.c src/uicommon/gftpui.h src/text/textui.c src/gtk/gtkui_transfer.c - added gftpui_{start,update,finish}_current_file_in_transfer() functions that will be called throughout the lifetime of a file transfer. Also, gftpui_start_transfer() that will be called whenever a file transfer is created * src/uicommon/gftpui.h src/uicommon/gftpui.c src/gtk/gftp-gtk.c src/gtk/transfer.c - added other_uidata and other_request arguments to all of the command line functions * lib/protocols.c lib/gftp.h - set the filespec argument to gftp_get_next_file to be a constant * lib/gftp.h - added tot_file_trans variable to gftp_transfer struct
author masneyb
date Sat, 24 Jan 2004 11:45:11 +0000
parents d207b8241e96
children 712d3810f4e1
comparison
equal deleted inserted replaced
376:6b25e7a2ff20 377:14da115b149b
17 /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA */ 17 /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA */
18 /*****************************************************************************/ 18 /*****************************************************************************/
19 19
20 #include "gftp-gtk.h" 20 #include "gftp-gtk.h"
21 static const char cvsid[] = "$Id$"; 21 static const char cvsid[] = "$Id$";
22
23
24 void
25 gftpui_start_current_file_in_transfer (gftp_transfer * tdata)
26 {
27 }
28
29
30 void
31 gftpui_update_current_file_in_transfer (gftp_transfer * tdata)
32 {
33 }
34
35
36 void
37 gftpui_finish_current_file_in_transfer (gftp_transfer * tdata)
38 {
39 }
40
41
42 void
43 gftpui_start_transfer (gftp_transfer * tdata)
44 {
45 /* Not used in GTK+ port. This is polled instead */
46 }
22 47
23 48
24 void 49 void
25 gftpui_add_file_to_transfer (gftp_transfer * tdata, GList * curfle, 50 gftpui_add_file_to_transfer (gftp_transfer * tdata, GList * curfle,
26 char *filepos) 51 char *filepos)