summaryrefslogtreecommitdiff
path: root/server/include/modules_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/include/modules_handler.h')
-rw-r--r--server/include/modules_handler.h2
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();