From a6e670966225d22234a0700e8d49773b30e5dc2e Mon Sep 17 00:00:00 2001 From: Kostyantyn Ovechko Date: Tue, 3 Aug 2010 02:26:47 +0300 Subject: Add distfiles window to tuiclient. Distfiles window shows progress on distfile downloads. --- segget/ui_server.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'segget/ui_server.h') diff --git a/segget/ui_server.h b/segget/ui_server.h index db67e13..21dbc9e 100644 --- a/segget/ui_server.h +++ b/segget/ui_server.h @@ -53,13 +53,12 @@ class Tui_server{ uint max_fd_num; fd_set readfds, testfds; void init(); - string encode_connection_msg(uint y, string msg); - string encode_log_msg(string msg); - string encode_error_log_msg(string msg); ulong send_to_fd(uint fd, string msg); + void send_connection_msg_to_fd(uint fd, uint y, string msg); void send_connection_msg_to_all_clients(uint y, string msg); void send_log_msg_to_all_clients(string msg); void send_error_log_msg_to_all_clients(string msg); + void send_distfile_progress_msg_to_all_clients(string msg); }; extern Tui_server ui_server; -- cgit v1.2.3-65-gdbad