summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schanda <schanda@itestra.de>2013-01-17 16:02:11 +0100
committerJohannes Schanda <schanda@itestra.de>2013-01-17 16:02:11 +0100
commitc43aea0bdd7b0e52358df06d028e24586aa2de14 (patch)
tree1d8820bd055efe5e277990c69e59428dd2d0f84e
parent9462018f7d0801a2d3f6ef51393602acd3a9660e (diff)
downloadgenivi-common-api-runtime-c43aea0bdd7b0e52358df06d028e24586aa2de14.tar.gz
TypeWriter generation for enums
-rw-r--r--org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceGenerator.xtend7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceGenerator.xtend b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceGenerator.xtend
index edf3868..13c1e1e 100644
--- a/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceGenerator.xtend
+++ b/org.genivi.commonapi.core/src/org/genivi/commonapi/core/generator/FInterfaceGenerator.xtend
@@ -12,6 +12,7 @@ import org.franca.core.franca.FInterface
class FInterfaceGenerator {
@Inject private extension FTypeGenerator
+ @Inject private extension FTypeCommonAreaGenerator
@Inject private extension FrancaGeneratorExtensions
def generate(FInterface fInterface, IFileSystemAccess fileSystemAccess) {
@@ -57,6 +58,12 @@ class FInterfaceGenerator {
«ENDFOR»
«fInterface.model.generateNamespaceEndDeclaration»
+
+ namespace CommonAPI {
+
+ «fInterface.generateTypeWriters»
+
+ }
#endif // «fInterface.defineName»_H_
'''