comparison doc/xfer-signals.dox @ 16177:d88f0f320c9b

merge of '07fc4db9a3c2c12596e0354b8e7959aa847f966b' and '2e6d324c725b3e6a2c803589bca3f0ac9b9790bf'
author Richard Laager <rlaager@wiktel.com>
date Mon, 16 Apr 2007 00:44:33 +0000
parents d0f7f698b6de
children 8cf53d7a0887
comparison
equal deleted inserted replaced
15938:2e3eba412412 16177:d88f0f320c9b
3 @signals 3 @signals
4 @signal file-recv-accept 4 @signal file-recv-accept
5 @signal file-recv-start 5 @signal file-recv-start
6 @signal file-recv-cancel 6 @signal file-recv-cancel
7 @signal file-recv-complete 7 @signal file-recv-complete
8 @signal file-recv-request
8 @signal file-send-accept 9 @signal file-send-accept
9 @signal file-send-start 10 @signal file-send-start
10 @signal file-send-cancel 11 @signal file-send-cancel
11 @signal file-send-complete 12 @signal file-send-complete
12 @endsignals 13 @endsignals
51 Emitted when an incoming file transfer has been completed. 52 Emitted when an incoming file transfer has been completed.
52 @param xfer The file transfer 53 @param xfer The file transfer
53 @param data User data 54 @param data User data
54 @endsignaldef 55 @endsignaldef
55 56
57 @signaldef file-recv-request
58 @signalproto
59 void (*file_recv_request)(GaimXfer *xfer, gpointer data);
60 @endsignalproto
61 @signaldesc
62 Emitted before the user is prompted for an incoming file-transfer.
63 Plugins can intercept the signal to auto-accept/auto-reject the
64 requests. To auto-accept the file transfer, use
65 gaim_xfer_request_accepted(). To auto-reject, set the status of the
66 xfer to GAIM_XFER_STATUS_CANCEL_LOCAL.
67 @param xfer The file transfer
68 @param data User data
69 @endsignaldef
70
56 @signaldef file-send-accept 71 @signaldef file-send-accept
57 @signalproto 72 @signalproto
58 void (*file_send_accept)(GaimXfer *xfer, gpointer data); 73 void (*file_send_accept)(GaimXfer *xfer, gpointer data);
59 @endsignalproto 74 @endsignalproto
60 @signaldesc 75 @signaldesc