diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 20:35:14 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 20:35:14 -0500 |
commit | 9c9e400b68f9cfb2270434fb8a16cc0df906ab8b (patch) | |
tree | 051470d7c3d29401462e3563bca34b11e58af5c5 /hscript/meta.hh | |
parent | b9980223dd469f24359d969ab24c3694507897e5 (diff) | |
download | horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.gz horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.bz2 horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.tar.xz horizon-9c9e400b68f9cfb2270434fb8a16cc0df906ab8b.zip |
hscript: Implement 'svcenable' key and tests
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r-- | hscript/meta.hh | 10 |
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; +}; + } } |