Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
27a46e3e
Commit
27a46e3e
authored
Mar 17, 2018
by
Maxime Perrotin
Browse files
Add placeholder for GUI templates
parent
44cc8341
Changes
9
Hide whitespace changes
Inline
Side-by-side
templates/skeletons/gui/body-filename.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the function
@@-- @_Is_Type_@ : True if function type
@@-- @_Instance_Of_@ : Name of instance or empty string
@_LOWER:Name_@.c
templates/skeletons/gui/body.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the function
@@-- @_Language_@ : The implementation language
@@-- @_List_Of_PIs_@ : List of all Provided Interfaces (just names)
@@-- @_List_Of_RIs_@ : List of all Required Interfaces (just names)
@@-- @_List_Of_Sync_PIs@ : List of synchronous Provided Interfaces
@@-- @_List_Of_Sync_RIs@ : List of synchronous Required Interfaces
@@-- @_List_Of_ASync_PIs@ : List of asynchronous Provided Interfaces
@@-- @_List_Of_ASync_RIs@ : List of asynchronous Required Interfaces
@@-- @_ASN1_Modules_@ : List of ASN.1 Modules names
@@-- @_ASN1_Files_@ : List of ASN.1 Files with path
@@-- @_Timers_@ : List of timers (just names)
@@-- @_Has_Context_@ : Flag, True if there are context parameters
@@-- @_CP_Names_@ : List of Context Parameter names
@@-- @_CP_Types_@ : List of Context Parameter types
@@-- @_Provided_Interfaces_@ : From template: Provided interfaces with params
@@-- @_Required_Interfaces_@ : From template: Required interfaces with params
@@-- @_Property_Names_@ : List of User-defined properties (names)
@@-- @_Property_Values_@ : List of User-defined properties (values)
@@-- @_Is_Type_@ : Flag, True if function is a component type
@@-- @_Instance_Of_@ : Optional name of component type
@@INCLUDE@@ ../c/body.tmplt
templates/skeletons/gui/header-filename.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the function
@@-- @_Is_Type_@ : True if function type
@@-- @_Instance_Of_@ : Name of instance or empty string
@_LOWER:Name_@.h
templates/skeletons/gui/header.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the function
@@-- @_Language_@ : The implementation language
@@-- @_List_Of_PIs_@ : List of all Provided Interfaces (just names)
@@-- @_List_Of_RIs_@ : List of all Required Interfaces (just names)
@@-- @_List_Of_Sync_PIs@ : List of synchronous Provided Interfaces
@@-- @_List_Of_Sync_RIs@ : List of synchronous Required Interfaces
@@-- @_List_Of_ASync_PIs@ : List of asynchronous Provided Interfaces
@@-- @_List_Of_ASync_RIs@ : List of asynchronous Required Interfaces
@@-- @_ASN1_Modules_@ : List of ASN.1 Modules names
@@-- @_ASN1_Files_@ : List of ASN.1 Files with path
@@-- @_Timers_@ : List of timers (just names)
@@-- @_Has_Context_@ : Flag, True if there are context parameters
@@-- @_CP_Names_@ : List of Context Parameter names
@@-- @_CP_Types_@ : List of Context Parameter types
@@-- @_Provided_Interfaces_@ : From template: Provided interfaces with params
@@-- @_Required_Interfaces_@ : From template: Required interfaces with params
@@-- @_Property_Names_@ : List of User-defined properties (names)
@@-- @_Property_Values_@ : List of User-defined properties (values)
@@-- @_Is_Type_@ : Flag, True if function is a component type
@@-- @_Instance_Of_@ : Optional name of component type
@@INCLUDE@@ ../c/header.tmplt
templates/skeletons/gui/interface-body.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the interface
@@-- @_Direction_@ : "PI" or "RI"
@@-- @_Kind_@ : The RCM Kind
@@-- @_Parent_Function_@ : The name of the function
@@-- @_Param_Names_@ : List of parameter names
@@-- @_Param_Types_@ : |_ Corresponding parameter types
@@-- @_Param_Directions_@ : |_ Corresponding direction
@@INCLUDE@@ ../c/interface-body.tmplt
templates/skeletons/gui/interface-header.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The name of the interface
@@-- @_Direction_@ : "PI" or "RI"
@@-- @_Kind_@ : The RCM Kind
@@-- @_Parent_Function_@ : The name of the function
@@-- @_Param_Names_@ : List of parameter names
@@-- @_Param_Types_@ : |_ Corresponding parameter types
@@-- @_Param_Directions_@ : |_ Corresponding direction
@@INCLUDE@@ ../c/interface-header.tmplt
templates/skeletons/gui/makefile.tmplt
0 → 100644
View file @
27a46e3e
@@-- The following tags are available in this template
:
@@--
@@-- @_Name_@
:
The function name
@@-- @_ASN1_Files_@
:
List of all ASN.1 files
@@-- @_ASN1_Modules_@
:
List of all ASN.1 modules
@@-- @_Is_Type_@
:
Flag set to True for function type
@@-- @_Instance_Of_@
:
Name of function type if instance
@@INCLUDE@@
../c/makefile.tmplt
templates/skeletons/makefile.tmplt
View file @
27a46e3e
...
...
@@ -35,11 +35,11 @@ dataviews:
@@TABLE@@
@@IF@@
@_Language_@
=
"Ada"
ln -fs ${PWD}/dataview/Ada/*.ads @_LOWER
:
Function_Names_@/Ada/src
@
@ELSIF@@ @_Language_@
=
"C"
or @_Language_@
=
"CPP"
@
@ELSIF@@ @_Language_@
=
"C"
or @_Language_@
=
"CPP"
or @_Language_@
=
"GUI"
ln
-fs
${PWD}
/dataview/C/
*
.h @_LOWER:Function_Names_@/@_Language_@/src
@
@ELSIF@@ @_Language_@
=
"SDL"
ln
-fs
${PWD}
/dataview/dataview-uniq.asn @_LOWER:Function_Names_@/@_Language_@/src
@
@ELS
IF@@ @_Language_@ /
=
"GUI"
@
@ELS
E@@
ln
-fs
${PWD}
/dataview/@_Language_@/
*
@_LOWER:Function_Names_@/@_Language_@/src
@
@END_IF@@
@
@END_TABLE@@
...
...
templates/skeletons/sdl/header.tmplt
View file @
27a46e3e
...
...
@@ -38,7 +38,6 @@ use Datamodel;
system @_CAPITALIZE:Name_@;
@@TABLE@@
@_STRIP:Provided_Interfaces_@;
@@END_TABLE@@
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment