diff options
author | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-08-03 02:26:47 +0300 |
---|---|---|
committer | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-08-03 02:26:47 +0300 |
commit | a6e670966225d22234a0700e8d49773b30e5dc2e (patch) | |
tree | cfedf01667a97089d64a3b5c365e61b78a9960cf /segget/ui_server.h | |
parent | Add [scripting_and_scheduling] section to segget.conf file. (diff) | |
download | idfetch-a6e670966225d22234a0700e8d49773b30e5dc2e.tar.gz idfetch-a6e670966225d22234a0700e8d49773b30e5dc2e.tar.bz2 idfetch-a6e670966225d22234a0700e8d49773b30e5dc2e.zip |
Add distfiles window to tuiclient.
Distfiles window shows progress on distfile downloads.
Diffstat (limited to 'segget/ui_server.h')
-rw-r--r-- | segget/ui_server.h | 5 |
1 files changed, 2 insertions, 3 deletions
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; |