From 0c9dd8ea102db49c9702d36d8a13c013d6e5df86 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 29 Mar 2015 04:41:17 +0300 Subject: api fixes implemented get_module_settings --- server/include/modules_handler.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'server/include/modules_handler.h') 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 &modules); std::string get_self_path(); std::string self_path; - std::list metadata_modules; - std::list downloader_modules; - + std::list metadata_modules; + std::list downloader_modules; }; -- cgit v1.2.3