Add signals to generated header file

Review URL: http://codereview.chromium.org/1508036
(cherry picked from commit f3432ada6bf8cd55f9dbdf050d510c53ce9f6687)
This commit is contained in:
Jason Glasgow
2010-12-20 12:28:10 -05:00
committed by Elly Jones
parent 245818de33
commit 575ba87338
+7
View File
@@ -137,6 +137,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
</xsl:template>
<xsl:template match="signal">
<xsl:variable name="varname">
<xsl:value-of select="translate(@name,
'abcdefghijklmnopqrstuvwxyz. ',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ_')"/>
</xsl:variable>
#define <xsl:value-of select="concat('MM_SIGNAL_', $varname)"/> "<xsl:value-of select="@name"/>"
</xsl:template>
<xsl:template match="method">