diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-08 23:32:10 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-08 23:32:10 -0500 |
commit | d9ee6b07e5496916af500b7d2d3358621a64c970 (patch) | |
tree | e6f8c0824ced5fa9809c5caf2dd45dd1f60967a0 | |
parent | a9adb4c0d448662a2d7f1b6971cdf92b42b10c7f (diff) | |
download | horizon-d9ee6b07e5496916af500b7d2d3358621a64c970.tar.gz horizon-d9ee6b07e5496916af500b7d2d3358621a64c970.tar.bz2 horizon-d9ee6b07e5496916af500b7d2d3358621a64c970.tar.xz horizon-d9ee6b07e5496916af500b7d2d3358621a64c970.zip |
hscript: These keys can be strongly typed
-rw-r--r-- | hscript/meta.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh index 1db411d..fadd837 100644 --- a/hscript/meta.hh +++ b/hscript/meta.hh @@ -45,16 +45,16 @@ public: }; -class Language : public Key { +class Language : public StringKey { }; -class Keymap : public Key { +class Keymap : public StringKey { }; -class Firmware : public Key { +class Firmware : public BooleanKey { }; -class Timezone : public Key { +class Timezone : public StringKey { }; class Repository : public Key { |