summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index 7dc3f68..b2e1963 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -66,6 +66,13 @@ public:
};
class Timezone : public StringKey {
+private:
+ Timezone(int _line, const std::string &my_zone) :
+ StringKey(_line, my_zone) {}
+public:
+ static Key *parseFromData(const std::string &data, int lineno, int *errors,
+ int *warnings);
+ bool execute(ScriptOptions) const override;
};
class Repository : public StringKey {