summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index 060054b..d522bdf 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -118,6 +118,16 @@ public:
bool execute() const override;
};
+class SvcEnable : public StringKey {
+private:
+ SvcEnable(const Script *_s, int _line, const std::string &_svc) :
+ StringKey(_s, _line, _svc) {}
+public:
+ static Key *parseFromData(const std::string &, int, int *, int *,
+ const Script *);
+ bool execute() const override;
+};
+
}
}