Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-05 07:38:53 +0000
committerHenrik Rentz-Reichert2012-09-05 07:44:28 +0000
commit241dc251394a2599cd1ce76c0aaf1c355bddf5da (patch)
tree991fac29ef124ad84f0632fb76b46bc648ed47de /plugins
parent64a95e860ae618fda980c3c0ae0123d3e24fd3cb (diff)
downloadorg.eclipse.etrice-241dc251394a2599cd1ce76c0aaf1c355bddf5da.tar.gz
org.eclipse.etrice-241dc251394a2599cd1ce76c0aaf1c355bddf5da.tar.xz
org.eclipse.etrice-241dc251394a2599cd1ce76c0aaf1c355bddf5da.zip
[generator.c] generating include for etUnit in actor class
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend1
-rw-r--r--plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/ActorClassGen.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
index ad81991e2..cd7c85c8c 100644
--- a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/gen/ActorClassGen.xtend
@@ -208,6 +208,7 @@ class ActorClassGen extends GenericActorClassGenerator {
#include "modelbase/etActor.h"
#include "debugging/etLogger.h"
#include "debugging/etMSCLogger.h"
+ #include "etUnit/etUnit.h"
#include "platform/etMemory.h"
«FOR pc : root.getReferencedProtocolClasses(ac)»
diff --git a/plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/ActorClassGen.java b/plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/ActorClassGen.java
index 5e1afeec5..c174aa5c4 100644
--- a/plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/ActorClassGen.java
+++ b/plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/ActorClassGen.java
@@ -614,6 +614,8 @@ public class ActorClassGen extends GenericActorClassGenerator {
_builder.newLine();
_builder.append("#include \"debugging/etMSCLogger.h\"");
_builder.newLine();
+ _builder.append("#include \"etUnit/etUnit.h\"");
+ _builder.newLine();
_builder.append("#include \"platform/etMemory.h\"");
_builder.newLine();
_builder.newLine();

Back to the top