Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-01-02 22:40:00 +0000
committerThomas Schuetz2012-01-02 22:40:00 +0000
commitdf35a49da5a4aadb7875e37d938afc605251868d (patch)
treec3fdd54a5728aa862d6f74522799f598f3333d72 /plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
parentc79f92e56625e20d78899a236102fe31ef4a8783 (diff)
downloadorg.eclipse.etrice-df35a49da5a4aadb7875e37d938afc605251868d.tar.gz
org.eclipse.etrice-df35a49da5a4aadb7875e37d938afc605251868d.tar.xz
org.eclipse.etrice-df35a49da5a4aadb7875e37d938afc605251868d.zip
[generator.c.reference] first version of runtime messaging for C, cleaned up unneeded "interface for port class" in Java ProtocolClass Generator, regenerated integration.tests
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
index 39fe09edb..8ae01c18e 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
@@ -208,18 +208,18 @@ class ProtocolClassGen {
«ENDIF»
}
- // interface for port class
- public interface I«name»{
- «IF conj»
- // outgoing messages
- «FOR m : pc.getAllOutgoingMessages()» «messageSignature(m)»;
- «ENDFOR»
- «ELSE»
- // incoming messages
- «FOR m : pc.getAllIncomingMessages()» «messageSignature(m)»;
- «ENDFOR»
- «ENDIF»
- }
+««« // interface for port class
+««« public interface I«name»{
+««« «IF conj»
+««« // outgoing messages
+««« «FOR m : pc.getAllOutgoingMessages()» «messageSignature(m)»;
+««« «ENDFOR»
+««« «ELSE»
+««« // incoming messages
+««« «FOR m : pc.getAllIncomingMessages()» «messageSignature(m)»;
+««« «ENDFOR»
+««« «ENDIF»
+««« }
'''
}

Back to the top