summaryrefslogtreecommitdiff
path: root/server/include/api_module_metadata_storage.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-03-27 02:10:12 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-03-27 02:10:12 +0300
commitf87e3320c499edccd545ff3bfc244ef5c7216bb5 (patch)
tree5917670515947311cdf81352977bbdae60bcd0f1 /server/include/api_module_metadata_storage.h
parentc46da5d47a706cee43ff62bc6649257fba508743 (diff)
module api fixes (thx 0xd34df00d)
working module prototype
Diffstat (limited to 'server/include/api_module_metadata_storage.h')
-rw-r--r--server/include/api_module_metadata_storage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/include/api_module_metadata_storage.h b/server/include/api_module_metadata_storage.h
index 59dd92c..329a3cf 100644
--- a/server/include/api_module_metadata_storage.h
+++ b/server/include/api_module_metadata_storage.h
@@ -25,9 +25,10 @@
class module_metadata_storage : public module_base
{
- virtual bool set(const std::string &module_name, const std::string &setting_name, const std::vector<char> &data);
- virtual bool get(const std::string &module_name, const std::string &setting_name, std::vector<char> &data);
- virtual bool remove(const std::string &module_name, const std::string &setting_name);
+ public:
+ virtual bool set(const std::string &module_name, const std::string &setting_name, const std::vector<char> &data) = 0;
+ virtual bool get(const std::string &module_name, const std::string &setting_name, std::vector<char> &data) = 0;
+ virtual bool remove(const std::string &module_name, const std::string &setting_name) = 0;
};