|
@@ -21,7 +21,7 @@ Templates for the main statechart cpp file.
|
|
|
|
|
|
#ifndef «STNAME()»_H_
|
|
|
#define «STNAME()»_H_
|
|
|
-
|
|
|
+
|
|
|
«FOREACH this.scopes.getUsableScopes() AS interface -»
|
|
|
#include "«interface.interfaceClassName()».h"
|
|
|
«ENDFOREACH»
|
|
@@ -29,6 +29,10 @@ Templates for the main statechart cpp file.
|
|
|
#include "«EvName()».h"
|
|
|
#include "EventPool.h"
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif
|
|
|
+
|
|
|
#define MAX_PARALLEL_STATES «this.stateVector.size»
|
|
|
|
|
|
typedef void(*raiseEventFPtr)(_Event* evPtr);
|
|
@@ -82,6 +86,10 @@ extern void statemachine_cy__runCycle(Statemachine_cy* handle);
|
|
|
|
|
|
#endif /* «STNAME()»_FRIENDS */
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
#endif /* «STNAME()»_H_ */
|
|
|
|
|
|
«ENDFILE»
|