VirtualBox

Ignore:
Timestamp:
Jun 8, 2019 2:30:56 AM (5 years ago)
Author:
vboxsync
Message:

Main/apiwrap-server*.xsl: Don't generate wrappers for event interfaces marked with autogen='VBoxEvent' as these have a different code generator and shouldn't be used. Should save a little build time and more importantly VBox/log.h updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/apiwrap-server-filelist.xsl

    r69379 r79049  
    6565
    6666<xsl:template match="interface" mode="filelist-even-sources">
    67     <xsl:if test="not(@internal='yes') and not(@supportsErrorInfo='no') and (position() mod 2) = 0">
     67    <xsl:if test="not(@internal='yes') and not(@autogen='VBoxEvent') and not(@supportsErrorInfo='no') and (position() mod 2) = 0">
    6868        <xsl:value-of select="concat(' \', $G_sNewLine, '&#9;$(VBOX_MAIN_APIWRAPPER_DIR)/', substring(@name, 2), 'Wrap.cpp')"/>
    6969    </xsl:if>
     
    7171
    7272<xsl:template match="interface" mode="filelist-odd-sources">
    73     <xsl:if test="not(@internal='yes') and not(@supportsErrorInfo='no') and (position() mod 2) = 1">
     73    <xsl:if test="not(@internal='yes') and not(@autogen='VBoxEvent') and not(@supportsErrorInfo='no') and (position() mod 2) = 1">
    7474        <xsl:value-of select="concat(' \', $G_sNewLine, '&#9;$(VBOX_MAIN_APIWRAPPER_DIR)/', substring(@name, 2), 'Wrap.cpp')"/>
    7575    </xsl:if>
     
    7777
    7878<xsl:template match="interface" mode="filelist-headers">
    79     <xsl:if test="not(@internal='yes') and not(@supportsErrorInfo='no')">
     79    <xsl:if test="not(@internal='yes') and not(@autogen='VBoxEvent') and not(@supportsErrorInfo='no')">
    8080        <xsl:value-of select="concat(' \', $G_sNewLine, '&#9;$(VBOX_MAIN_APIWRAPPER_DIR)/', substring(@name, 2), 'Wrap.h')"/>
    8181    </xsl:if>
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