Commit 44f70e06 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update templates to support parameterless gui interfaces

parent 1a989ad3
......@@ -15,6 +15,14 @@ FEATURES
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@ELSIF@@ @_Language_@ = GUI and @_LOWER:Name_@ /= poll
@@-- Add dummy parameter to parameterless GUI interfaces
FEATURES
@@IF@@ @_Direction_@ = PI
no_param : IN PARAMETER DataView::T_Null_Record {encoding=>NATIVE;};
@@ELSE@@
no_param : OUT PARAMETER DataView::T_Null_Record {encoding=>NATIVE;};
@@END_IF@@
@@END_IF@@
END @_Name_@;
......
......@@ -156,7 +156,11 @@ void @_LOWER:Name_@_PI_Poll(void)
switch(message_received_type) {
@@TABLE@@
case i_@_List_Of_ASync_RIs_@:
@@IF@@ @_ASync_RI_Param_Type_@ /= ""
@_LOWER:Name_@_RI_@_List_Of_ASync_RIs_@((asn1Scc@_REPLACE_ALL(-/_):ASync_RI_Param_Type_@ *)msgcontent);
@@ELSE@@
@_LOWER:Name_@_RI_@_List_Of_ASync_RIs_@();
@@END_IF@@
break;
@@END_TABLE@@
default : break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment