From 4b4002115d6c7b5c5113d1e2e6e9025565e1c9bb Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 31 Aug 2015 20:45:06 +0300 Subject: protocol: download struct must have module_name field server: core: implemented SERVER_DOWNLOADS_LIST_REPLY (draft) added global downloads list client: using std::string instead of QString to avoid unnecessary conversions --- server/include/modules_handler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/include/modules_handler.h') diff --git a/server/include/modules_handler.h b/server/include/modules_handler.h index 5696053..7c8bc71 100644 --- a/server/include/modules_handler.h +++ b/server/include/modules_handler.h @@ -24,6 +24,7 @@ #include #include +#include "download_internal.h" #include class modules_handler @@ -32,6 +33,7 @@ class modules_handler modules_handler(); void load_modules(); void on_modules_loaded(); + void sync_downloads(std::map &downloads); std::string list_modules(); std::list &get_metadata_modules(); std::list &get_downloader_modules(); -- cgit v1.2.3