summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index 035bb8a..8a50576 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -51,6 +51,11 @@ class Keymap : public StringKey {
};
class Firmware : public BooleanKey {
+private:
+ Firmware(int _line, bool _value) : BooleanKey(_line, _value) {}
+public:
+ static Key *parseFromData(const std::string &, int, int*, int*);
+ bool execute(ScriptOptions) const override;
};
class Timezone : public StringKey {