From 3acb88de959f7b88f6dd883144e936f0c4dedc25 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 31 Mar 2015 10:31:48 +0300 Subject: core: moved on_modules_loaded call to later stage so modules actually can call other modules without race condition and exceptions implemented default metadata_storage basic settings //TODO: per module metadata storage modules: finished flat metadata module base implementation set,get,remove now working and tested via core, via modules --- server/include/modules_handler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/include/modules_handler.h') diff --git a/server/include/modules_handler.h b/server/include/modules_handler.h index c5e91b4..5696053 100644 --- a/server/include/modules_handler.h +++ b/server/include/modules_handler.h @@ -33,6 +33,8 @@ class modules_handler void load_modules(); void on_modules_loaded(); std::string list_modules(); + std::list &get_metadata_modules(); + std::list &get_downloader_modules(); ~modules_handler(); private: void load_metadata_modules(const std::string &path); -- cgit v1.2.3