diff options
Diffstat (limited to 'lcmodule/customer_config/custom_commands_impl_h.xsl')
-rw-r--r-- | lcmodule/customer_config/custom_commands_impl_h.xsl | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lcmodule/customer_config/custom_commands_impl_h.xsl b/lcmodule/customer_config/custom_commands_impl_h.xsl new file mode 100644 index 0000000..a62a434 --- /dev/null +++ b/lcmodule/customer_config/custom_commands_impl_h.xsl @@ -0,0 +1,49 @@ +<?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="custom_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 _CUSTOM_COMMANDS_IMPL_H +#define _CUSTOM_COMMANDS_IMPL_H +#include "error_codes.h" +<apply-templates select="group" /> +#endif /* _CUSTOM_COMMANDS_IMPL_H */ +</template> + +<template match="group/documentation"> +/* + * <value-of select="normalize-space(.)"/> + */ +</template> + +<template match="group/command"> + <if test="contains(@source, 'PC')"> + <call-template name="prototype"> + <with-param name="name" select="concat('Do_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name, 'Impl')" /> + <with-param name="ref" select="concat('Done_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name)" /> + <with-param name="direction" select="input" /> + <with-param name="source" select="'PC'" /> + </call-template> + </if> + <if test="contains(@source, 'ME')"> + <call-template name="prototype"> + <with-param name="name" select="concat('Done_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name, 'Impl')" /> + <with-param name="ref" select="concat('Do_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name)" /> + <with-param name="direction" select="output" /> + <with-param name="source" select="'PC'" /> + </call-template> + </if> +</template> + +</stylesheet> |