summaryrefslogtreecommitdiff
path: root/server/include/modules_handler.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-03-29 04:41:17 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-03-29 04:41:17 +0300
commit0c9dd8ea102db49c9702d36d8a13c013d6e5df86 (patch)
tree2b0041410439799eeb9bf3a8aae43948480cb1c8 /server/include/modules_handler.h
parentd85b9e99218f4cab4410149415348d8a365c4828 (diff)
api fixes
implemented get_module_settings
Diffstat (limited to 'server/include/modules_handler.h')
-rw-r--r--server/include/modules_handler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/include/modules_handler.h b/server/include/modules_handler.h
index 2459d9c..c111faf 100644
--- a/server/include/modules_handler.h
+++ b/server/include/modules_handler.h
@@ -30,17 +30,19 @@ class modules_handler
{
public:
modules_handler();
- std::string list_modules(short verbose_level = 0);
+ void load_modules();
+ void on_modules_loaded();
+ std::string list_modules();
~modules_handler();
private:
void load_metadata_modules(const std::string &path);
void load_downloader_modules(const std::string &path);
void sync_module_settings(module_base *m);
+ std::string list_modules_single_type_internal(const std::list<module_base*> &modules);
std::string get_self_path();
std::string self_path;
- std::list<module_metadata_storage*> metadata_modules;
- std::list<module_downloader*> downloader_modules;
-
+ std::list<module_base*> metadata_modules;
+ std::list<module_base*> downloader_modules;
};