1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/src/protocol/bittorrent/dialogs.h
Witold Filipczyk b2c7566544 [dialogs] _node
2022-03-18 19:22:38 +01:00

52 lines
1.3 KiB
C

#ifndef EL__PROTOCOL_BITTORRENT_DIALOG_H
#define EL__PROTOCOL_BITTORRENT_DIALOG_H
#include "bfu/common.h"
#ifdef __cplusplus
extern "C" {
#endif
struct color_pair;
struct bittorrent_connection;
struct download;
struct session;
struct terminal;
struct type_query;
char *
get_bittorrent_message(struct download *download, struct terminal *term,
int wide, int full, const char *separator);
#if 0
void
draw_bittorrent_piece_progress(struct download *download, struct terminal *term,
int x, int y, int width, char *text,
struct color_pair *meter_color);
#endif
void
draw_bittorrent_piece_progress_node(struct download *download, struct terminal *term,
int x, int y, int width, char *text,
unsigned int meter_color_node);
void set_bittorrent_files_for_deletion(struct download *download);
void set_bittorrent_notify_on_completion(struct download *download, struct terminal *term);
void notify_bittorrent_download_complete(struct bittorrent_connection *bittorrent);
widget_handler_status_T
dlg_show_bittorrent_info(struct dialog_data *dlg_data, struct widget_data *widget_data);
void bittorrent_message_dialog(struct session *ses, void *data);
void query_bittorrent_dialog(struct type_query *type_query);
#ifdef __cplusplus
}
#endif
#endif