diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-31 20:45:06 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-31 20:45:06 +0300 |
commit | 4b4002115d6c7b5c5113d1e2e6e9025565e1c9bb (patch) | |
tree | 4e4ecc6d26052bb5f50acd0c1a9260aceb5479fd /server/include/modules_handler.h | |
parent | 12eba4d75931c5e48dac70b1a7dbad7861d059df (diff) |
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
Diffstat (limited to 'server/include/modules_handler.h')
-rw-r--r-- | server/include/modules_handler.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <api_module_metadata_storage.h> #include <api_module_downloader.h> +#include "download_internal.h" #include <list> class modules_handler @@ -32,6 +33,7 @@ class modules_handler modules_handler(); void load_modules(); void on_modules_loaded(); + void sync_downloads(std::map<int, download_internal_s> &downloads); std::string list_modules(); std::list<module_base*> &get_metadata_modules(); std::list<module_base*> &get_downloader_modules(); |