blob: 0cac17381cef2b55b2bb7375ddcf4b48e4ba62f5 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (C) ST-Ericsson SA 2011
* License terms: 3-clause BSD license
-->
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
<output method="text" indent="no"/>
<strip-space elements="*"/>
<param name="target" />
<param name="supportedCommands" />
<variable name="supported_commands" select="document($supportedCommands)/commandspec"/>
<template match="command">
<variable name="group" select="../@number" />
<variable name="command" select="@number" />
<if test='$target="lcm" or $supported_commands/group[@number=$group]/command[@number=$command]'>
<if test='contains(@supportedcmdtype, "longrunning")'>ErrorCode_e <value-of select="../interface/@name"/>_<value-of select="interface/@name"/>Repeat(void *ExecutionContext_p);
</if>
</if>
</template>
<template match="group">
<variable name="group" select="@number" />
<if test='$target="lcm" or $supported_commands/group[@number=$group]'>
<apply-templates select="command"/><if test='contains(@supportedcmdtype, "longrunning")'>ErrorCode_e <value-of select="interface/@name"/>_ErrorHandlerRepeat(void *ExecutionContext_p);
</if><text>
</text>
</if>
</template>
<template match="/commandspec">
/*******************************************************************************
* $Copyright ST-Ericsson 2010 $
******************************************************************************/
#ifndef _CES_COMMANDS_H_
#define _CES_COMMANDS_H_
/**
* @addtogroup ldr_communication_module
* @{
*/
/*******************************************************************************
* Includes
******************************************************************************/
#include "error_codes.h"
/*******************************************************************************
* Declaration of functions
******************************************************************************/
<apply-templates select="group"/>uint32 Get_ApplicationInfoSize(void);
uint32 Get_ActiveApplicationsSize(void);
/*@}*/
#endif /*_CES_COMMANDS_H_*/
</template>
</stylesheet>
|