summaryrefslogtreecommitdiff
path: root/server/src/modules_handler.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-15 12:49:00 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-15 12:49:00 +0300
commitf4750dc7ca9ce56c54352c03bb40affe1a64c315 (patch)
treee5ff58ae92b0c49f5624644611ea05312eebe1ed /server/src/modules_handler.cpp
parent1d6ced38a89547aaf2cc3745876360f0e5086474 (diff)
client-qt:
implemented handler for SERVER_DOWNLOAD_INFO_REPLY server: api: removed core_id field from download_internal_s as it always used for index in download map some useful coments core: improoved signal handler a bit fiexd bug in core_api metadata related functions (metadata_set, metadata_get, metadata_remove), now thay returning correct data basic implementation of CLIENT_DOWNLOAD_ADD handler basic implementation of module unloading curl_downloader_module: implemented metadata storing some sanity checks curl_download structure refactored a bit (simplification)
Diffstat (limited to 'server/src/modules_handler.cpp')
-rw-r--r--server/src/modules_handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/modules_handler.cpp b/server/src/modules_handler.cpp
index eb08261..90328b1 100644
--- a/server/src/modules_handler.cpp
+++ b/server/src/modules_handler.cpp
@@ -125,6 +125,7 @@ std::string modules_handler::list_modules_single_type_internal(const std::list<m
std::string buf;
for(auto i : modules)
{
+ //TODO: additional info for each module type
buf += "\tName: ";
buf += i->get_module_info().name;
buf += "\n\tDescription: " + i->get_module_info().description;
@@ -199,7 +200,6 @@ void modules_handler::sync_downloads(std::map<int, download_internal_s> &downloa
for(auto it : d->get_downloads())
{
downloads[id].module_name = d->get_module_info().name;
- downloads[id].core_id = id; //is it needed ?
downloads[id].module_id = it.id;
id++;
}