summaryrefslogtreecommitdiff
path: root/server/include/api_core.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-28 21:21:02 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-28 21:21:02 +0300
commit6f3f670abe3d2d78a13cd3862e3a587dd4fe4e85 (patch)
tree0d681fd23bf2e70e385d053aee1e54dbe08668b1 /server/include/api_core.h
parentba8247eaf522e8a129b7fbbf09a6fab010746e3a (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.h5
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