mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-25 10:25:17 +00:00
Chris Josten
b9b08ab384
This disables some application level logic, but I'm going to rewrite that using Lager anyway.
18 lines
243 B
Handlebars
18 lines
243 B
Handlebars
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}};
|