sdk/libraries/extensiongenerator/resources/Standard/ActionExtension.cpp.in
raw| 1 | $licenseComment$ |
| 2 | |
| 3 | #include "$upperCamelCase(name)$ActionExtension.h" |
| 4 | |
| 5 | // include generated actions headers |
| 6 | @for@ $a$ in $actions$ |
| 7 | #include "$upperCamelCase(a.name)$.h" |
| 8 | @endfor@ |
| 9 | |
| 10 | // --------------- getActions ------------------- |
| 11 | void $upperCamelCase(name)$ActionExtension::init() { |
| 12 | @for@ $a$ in $actions$ |
| 13 | // Creating and registering the instance of $upperCamelCase(a.name)$ |
| 14 | registerNewAction($upperCamelCase(a.name)$); |
| 15 | @endfor@ |
| 16 | } |