diff options
Diffstat (limited to 'server/include/modules_handler.h')
-rw-r--r-- | server/include/modules_handler.h | 10 |
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; }; |