diff options
Diffstat (limited to 'tools/qscxmlc/data.t')
-rw-r--r-- | tools/qscxmlc/data.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/qscxmlc/data.t b/tools/qscxmlc/data.t index da553f4..2c23de0 100644 --- a/tools/qscxmlc/data.t +++ b/tools/qscxmlc/data.t @@ -44,6 +44,17 @@ struct ${classname}::Data: private QScxmlTableData { ${classname} &stateMachine; ${dataModelField} + static QScxmlExecutableContent::ParameterInfo param(QScxmlExecutableContent::StringId name, + QScxmlExecutableContent::EvaluatorId expr, + QScxmlExecutableContent::StringId location) + { + QScxmlExecutableContent::ParameterInfo p; + p.name = name; + p.expr = expr; + p.location = location; + return p; + } + static qint32 theInstructions[]; static QScxmlExecutableContent::StringId dataIds[]; static QScxmlExecutableContent::EvaluatorInfo evaluators[]; |