From ccffc685c412183b56f822438da5cc8a575d757e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 10 Sep 2015 00:15:07 +0300 Subject: client-qt: handle disconnect basic downloads model (still draft with unimplemented basic features like dynamic columns count, dynamic columns will be implemented next) basic handler for download list (in theory it's already working now, but untested) basic modules info handler (just store data in memory for now, all basic features still unimplemented, download info ui templates generation will be implemented next here) basic core info handler (just store data in memory for now, core settings and core info ui will be implemented next here.) server: api: added client metadata manipulation api for downloader modules added metadata map to download structure in downloader modules curl_downloader: implemented new api's --- client-qt/udm-client-qt/udm_main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client-qt/udm-client-qt/udm_main.h') diff --git a/client-qt/udm-client-qt/udm_main.h b/client-qt/udm-client-qt/udm_main.h index 23fe887..28d5440 100644 --- a/client-qt/udm-client-qt/udm_main.h +++ b/client-qt/udm-client-qt/udm_main.h @@ -58,6 +58,7 @@ public slots: void client_connect_ssl(QString &host, QString &password, int port, QString &ssl_ca, QString &ssl_crt, QString &ssl_key); void server_message_received(server_msg msg); void client_connected(bool success, QString error_text); + void client_disconnected(); signals: void connect_signal(QString host, QString password, int port); void connect_signal_ssl(QString host, QString password, int port, QString ssl_ca, QString ssl_crt, QString ssl_key); @@ -75,6 +76,9 @@ private: downloads_model *mdl_downloads; filters_model *mdl_filters; QSplitter *spl_hor, *spl_vert; + core_info server_info; + std::vector downloads; + std::list modules; }; #endif // UDM_MAIN_H -- cgit v1.2.3