summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-03 02:26:47 +0300
committerKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-03 02:26:47 +0300
commita6e670966225d22234a0700e8d49773b30e5dc2e (patch)
treecfedf01667a97089d64a3b5c365e61b78a9960cf /segget/ui_server.h
parentAdd [scripting_and_scheduling] section to segget.conf file. (diff)
downloadidfetch-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.h5
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;