summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index b2e1963..25ff931 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -55,6 +55,14 @@ public:
};
class Keymap : public StringKey {
+private:
+ Keymap(int _line, const std::string &keymap) :
+ StringKey(_line, keymap) {}
+public:
+ static Key *parseFromData(const std::string &data, int lineno, int *errors,
+ int *warnings);
+ bool validate(ScriptOptions) const override;
+ bool execute(ScriptOptions) const override;
};
class Firmware : public BooleanKey {