summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl')
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl58
1 files changed, 58 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl b/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl
new file mode 100644
index 0000000..b425fc6
--- /dev/null
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/ces_commands_h.xsl
@@ -0,0 +1,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 &quot;error_codes.h&quot;
+
+/*******************************************************************************
+ * Declaration of functions
+ ******************************************************************************/
+<apply-templates select="group"/>uint32 Get_ApplicationInfoSize(void);
+uint32 Get_ActiveApplicationsSize(void);
+
+/*@}*/
+#endif /*_CES_COMMANDS_H_*/
+</template>
+
+</stylesheet>