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/main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/include/main.h') diff --git a/server/include/main.h b/server/include/main.h index 5d93569..71769b8 100644 --- a/server/include/main.h +++ b/server/include/main.h @@ -22,17 +22,22 @@ #ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED +#include "api_module_metadata_storage.h" + #include #include namespace bpt = boost::property_tree; struct runtime_config_s{ + //TODO: define metadata and data storage modules per module alongside with default ones bpt::ptree config_file; + module_metadata_storage *default_metadata_storage; short verbosity; runtime_config_s() { verbosity = 0; + default_metadata_storage = nullptr; } }; -- cgit v1.2.3