2 #ifndef EL__PROTOCOL_BITTORRENT_DIALOG_H
3 #define EL__PROTOCOL_BITTORRENT_DIALOG_H
5 #include "bfu/common.h"
8 struct bittorrent_connection
;
15 get_bittorrent_message(struct download
*download
, struct terminal
*term
,
16 int wide
, int full
, unsigned char *separator
);
19 draw_bittorrent_piece_progress(struct download
*download
, struct terminal
*term
,
20 int x
, int y
, int width
, unsigned char *text
,
21 struct color_pair
*meter_color
);
23 void set_bittorrent_files_for_deletion(struct download
*download
);
24 void set_bittorrent_notify_on_completion(struct download
*download
, struct terminal
*term
);
26 void notify_bittorrent_download_complete(struct bittorrent_connection
*bittorrent
);
28 widget_handler_status_T
29 dlg_show_bittorrent_info(struct dialog_data
*dlg_data
, struct widget_data
*widget_data
);
31 void bittorrent_message_dialog(struct session
*ses
, void *data
);
33 void query_bittorrent_dialog(struct type_query
*type_query
);