aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend
index 9fafaeb05..fb4877b0b 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/gen/DataClassGen.xtend
@@ -1,3 +1,4 @@
+
/*******************************************************************************
* Copyright (c) 2011 protos software gmbh (http://www.protos.de).
* All rights reserved. This program and the accompanying materials
@@ -66,10 +67,10 @@ class DataClassGen {
«generateIncludeGuardBegin(dc.path + dc.name)»
«IF dc.base!=null»
- #include "«dc.base.name».h"
+ #include "«dc.base.path»«dc.base.name».h"
«ENDIF»
«FOR classes : root.getReferencedDataClasses(dc)»
- #include "«classes.name».h"
+ #include "«classes.path»«classes.name».h"
«ENDFOR»
«var models = root.getReferencedModels(dc)»
«FOR model : models»