1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-17 06:55:16 +00:00
harbour-sailfin/core/codegen/enum_header.hbs

18 lines
243 B
Handlebars
Raw Permalink Normal View History

class {{className}}Class {
Q_GADGET
public:
enum Value {
EnumNotSet,
{{#each values as |value|}}
{{value}},
{{/each}}
};
Q_ENUM(Value)
private:
explicit {{className}}Class();
};
typedef {{className}}Class::Value {{className}};