VirtualBox

Changeset 6907 in vbox for trunk


Ignore:
Timestamp:
Feb 11, 2008 6:32:32 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: COMWrappers: Added typedef XXXVector where XXX is the class name, for convenience.

File:
1 edited

Legend:

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

    r6900 r6907  
    231231        <xsl:value-of select="substring(@name,2)"/>
    232232        <xsl:text>;&#x0A;</xsl:text>
     233    </xsl:for-each>
     234    <xsl:text>&#x0A;</xsl:text>
     235    <!-- array typedefs -->
     236    <xsl:text>// array typedefs&#x0A;&#x0A;</xsl:text>
     237    <xsl:for-each select="interface[not(@internal='yes')]">
     238        <xsl:if test="
     239            (//attribute[@safearray='yes' and not(@internal='yes') and @type=current()/@name])
     240            or
     241            (//param[@safearray='yes' and not(../@internal='yes') and @type=current()/@name])
     242        ">
     243            <xsl:text>typedef QValueVector &lt;C</xsl:text>
     244            <xsl:value-of select="substring(@name,2)"/>
     245            <xsl:text>&gt; C</xsl:text>
     246            <xsl:value-of select="substring(@name,2)"/>
     247            <xsl:text>Vector;&#x0A;</xsl:text>
     248        </xsl:if>
    233249    </xsl:for-each>
    234250    <xsl:text>&#x0A;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.

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