diff options
Diffstat (limited to 'source/config/a2_commands_impl_h.xsl')
-rw-r--r-- | source/config/a2_commands_impl_h.xsl | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/source/config/a2_commands_impl_h.xsl b/source/config/a2_commands_impl_h.xsl new file mode 100644 index 0000000..6fb1631 --- /dev/null +++ b/source/config/a2_commands_impl_h.xsl @@ -0,0 +1,72 @@ +<?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 ST-Ericsson 2010$ */ +/* NOTE: This is an automatically generated file. DO NOT EDIT! */ + +#ifndef _A2_COMMANDS_IMPL_H_ +#define _A2_COMMANDS_IMPL_H_ + +#include "a2_commands.h" +#include "a2_command_ids.h" +#include "LCDriver.h" +#include "LcmInterface.h" +#include "error_codes.h" + +class CLCDriverMethods; + +class A2LoaderRpcInterfaceImpl : public A2LoaderRpcInterface +{ +public: + A2LoaderRpcInterfaceImpl(CLCDriverMethods* lcdMethods, CmdResult* cmdResult, LcmInterface* lcmInterface): + A2LoaderRpcInterface(lcdMethods, cmdResult, lcmInterface) + { + } + + ~A2LoaderRpcInterfaceImpl() + { + } + + ErrorCode_e Do_CEH_Callback(CommandData_t* pCmdData); +<apply-templates select="group" /> +}; + +#endif /* _A2_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('DoneRPC_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name, 'Impl')" /> + <with-param name="ref" select="concat('DoRPC_', ../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('DoRPC_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name, 'Impl')" /> + <with-param name="ref" select="concat('DoneRPC_', ../interface[@type='loader']/@name, '_', ./interface[@type='loader']/@name)" /> + <with-param name="direction" select="output" /> + <with-param name="source" select="'ME'" /> + </call-template> + </if> +</template> + +</stylesheet> |