diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-28 21:21:02 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-28 21:21:02 +0300 |
commit | 6f3f670abe3d2d78a13cd3862e3a587dd4fe4e85 (patch) | |
tree | 0d681fd23bf2e70e385d053aee1e54dbe08668b1 /server/include/api_core.h | |
parent | ba8247eaf522e8a129b7fbbf09a6fab010746e3a (diff) |
protocol:
typo fix
added description to setting_info
server:
api:
using structure with setting info instead of hust string for just value (a bit of necessary complication)
renamed few structs to avoid collision with protobuf ones
defined few module variables in api itself (a bit of simplification for module developer)
modules:
adapted to api changes
Diffstat (limited to 'server/include/api_core.h')
-rw-r--r-- | server/include/api_core.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/include/api_core.h b/server/include/api_core.h index 341bfc2..9af26f7 100644 --- a/server/include/api_core.h +++ b/server/include/api_core.h @@ -25,14 +25,15 @@ #include <vector> #include <map> -class module_base; +#include "settings.h" +class module_base; class core_api { public: //core - virtual std::map<std::string, std::string> get_module_settings(module_base *m); + virtual std::map<std::string, setting_s> get_module_settings(module_base *m); virtual std::map<std::string, std::string> get_core_settings(); //metadata |