VirtualBox

Ignore:
Timestamp:
May 16, 2007 8:14:31 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21192
Message:

Web services: attempted fix for XSLT problems (#1976), plus a couple of comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl

    r933 r2657  
    106106<xsl:text>
    107107/*
    108  *  DO NOT EDIT.
     108 * This contains Qt-based wrapper classes for [XP]COM interfaces.
    109109 *
    110  *  This header is automatically generated from the generic interface definition
    111  *  and contains Qt-based wrapper classes for [XP]COM interfaces.
     110 * DO NOT EDIT! This is a generated file.
     111 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
     112 * Generator: src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl
    112113 *
    113  *  Note: this header must be included from COMDefs.h, never directly.
     114 * Note: this header must be included from COMDefs.h, never directly.
    114115 */
    115116</xsl:text>
     
    158159-->
    159160<xsl:template match="if" mode="define">
     161  <xsl:if test="(@target='xpidl') or (@target='midl')">
    160162    <xsl:apply-templates select="." mode="begin"/>
    161163    <xsl:apply-templates mode="define"/>
    162164    <xsl:apply-templates select="." mode="end"/>
    163165    <xsl:text>&#x0A;</xsl:text>
     166  </xsl:if>
    164167</xsl:template>
    165168
     
    174177-->
    175178<xsl:template match="if" mode="declare">
     179  <xsl:if test="(@target='xpidl') or (@target='midl')">
    176180    <xsl:apply-templates select="." mode="begin"/>
    177181    <xsl:apply-templates mode="declare"/>
    178182    <xsl:apply-templates select="." mode="end"/>
    179183    <xsl:text>&#x0A;</xsl:text>
     184  </xsl:if>
    180185</xsl:template>
    181186
     
    193198</xsl:template>
    194199<xsl:template match="if" mode="end">
     200  <xsl:if test="(@target='xpidl') or (@target='midl')">
    195201    <xsl:text>#endif&#x0A;</xsl:text>
     202  </xsl:if>
    196203</xsl:template>
    197204
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette