summaryrefslogtreecommitdiff
path: root/generator/templates/SDLRPCFunctionNames.h.jinja2
blob: 419081b5179b0b4c92672ea27a8b7b812d160a82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% include 'copyright.jinja2' %}
//  SDLRPCFunctionNames.h

#import "SDLEnum.h"

/**
 *  All RPC request / response / notification names
 */
typedef SDLEnum SDLRPCFunctionName NS_TYPED_ENUM;
{% for param in params %}
{#- description if exist in source xml, will be putted here
    since if exist in source xml, will be putted here -#}
{%- if param.description or param.since %}
/**
 {%- if param.description %}
 {%- for d in param.description %}
 * {{d}}
 {%- endfor %}{% endif -%}
 {%- if param.description and param.since %}
 *
 {%- endif %}
 {%- if param.since %}
 * @since SDL {{param.since}}
 {%- endif %}
 */
{%- endif %}
extern SDLRPCFunctionName const SDLRPCFunctionName{{ param.name }};
{% endfor -%}