summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl')
-rw-r--r--lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl47
1 files changed, 47 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl b/lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl
new file mode 100644
index 0000000..974ea90
--- /dev/null
+++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/a2_commands_h.xsl
@@ -0,0 +1,47 @@
+<?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">
+
+<import href="a2_common.xsl"/>
+
+<output method="text"/>
+<strip-space elements="*"/>
+<param name="target"/>
+
+<template match="/commandspec">/* $Copyright$ */
+/* NOTE: This is an automatically generated file. DO NOT EDIT! */
+
+#ifndef _A2_COMMANDS_H
+#define _A2_COMMANDS_H
+#include &quot;error_codes.h&quot;
+#include &quot;t_a2_protocol.h&quot;
+#include "a2_command_ids.h"
+
+ErrorCode_e Do_A2_CEH_Call(void *Object_p, CommandData_t *CmdData_p);
+<apply-templates select="group"/>
+#endif /* _A2_COMMANDS_H */
+</template>
+
+<template match="group/command">
+ <if test="contains(@source, &apos;ME&apos;)">
+ <call-template name="prototype">
+ <with-param name="name" select="concat(&apos;Do_&apos;, ../interface[@type=&apos;loader&apos;]/@name, &apos;_&apos;, ./interface[@type=&apos;loader&apos;]/@name)"/>
+ <with-param name="ref" select="concat(&apos;Done_&apos;, ../interface[@type=&apos;loader&apos;]/@name, &apos;_&apos;, ./interface[@type=&apos;loader&apos;]/@name, &apos;Impl&apos;)"/>
+ <with-param name="direction" select="input"/>
+ <with-param name="source" select="&apos;ME&apos;"/>
+ </call-template>
+ </if>
+ <if test="contains(@source, &apos;PC&apos;)">
+ <call-template name="prototype">
+ <with-param name="name" select="concat(&apos;Done_&apos;, ../interface[@type=&apos;loader&apos;]/@name, &apos;_&apos;, ./interface[@type=&apos;loader&apos;]/@name)"/>
+ <with-param name="ref" select="concat(&apos;Do_&apos;, ../interface[@type=&apos;loader&apos;]/@name, &apos;_&apos;, ./interface[@type=&apos;loader&apos;]/@name, &apos;Impl&apos;)"/>
+ <with-param name="direction" select="output"/>
+ <with-param name="source" select="&apos;PC&apos;"/>
+ </call-template>
+ </if>
+</template>
+
+</stylesheet>