VirtualBox

Changeset 66274 in vbox for trunk/src/VBox/Main/cbinding


Ignore:
Timestamp:
Mar 28, 2017 12:19:45 AM (8 years ago)
Author:
vboxsync
Message:

VBox/Main: ​bugref:3300: VBoxSVC from terminal server session is not 'visible' - added VBoxSDS implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/capiidl.xsl

    r62770 r66274  
    16071607 *  libraries
    16081608-->
    1609 <xsl:template match="library">
     1609<xsl:template match="idl/library">
    16101610  <!-- result codes -->
    16111611  <xsl:call-template name="xsltprocNewlineOutputHack"/>
    1612   <xsl:for-each select="result">
     1612  <xsl:for-each select="application/result">
    16131613    <xsl:apply-templates select="."/>
    16141614  </xsl:for-each>
     
    16161616  <xsl:call-template name="xsltprocNewlineOutputHack"/>
    16171617  <!-- forward declarations -->
    1618   <xsl:apply-templates select="interface | if/interface" mode="forward"/>
     1618  <xsl:apply-templates select="application/interface | application/if/interface" mode="forward"/>
    16191619  <xsl:call-template name="xsltprocNewlineOutputHack"/>
    16201620  <!-- typedef'ing the struct declarations -->
    1621   <xsl:apply-templates select="interface | if/interface" mode="typedef"/>
     1621  <xsl:apply-templates select="application/interface | application/if/interface" mode="typedef"/>
    16221622  <xsl:call-template name="xsltprocNewlineOutputHack"/>
    16231623  <!-- all enums go first -->
    1624   <xsl:apply-templates select="enum | if/enum"/>
    1625   <!-- everything else but result codes and enums -->
     1624  <xsl:apply-templates select="application/enum | application/if/enum"/>
     1625  <!-- everything else but result codes and enums
    16261626  <xsl:apply-templates select="*[not(self::result or self::enum) and
    1627                                  not(self::if[result] or self::if[enum])]"/>
     1627                                 not(self::if[result] or self::if[enum])]"/> -->
     1628    <!-- the modules (i.e. everything else) -->
     1629  <xsl:apply-templates select="application/interface | application/if[interface]
     1630                                   | application/module | application/if[module]"/>
    16281631  <!-- -->
    16291632</xsl:template>
     
    24552458
    24562459  <xsl:choose>
    2457     <!-- modifiers (ignored for 'enumeration' attributes)-->
     2460    <!-- modifiers -->
    24582461    <xsl:when test="name(current())='type' and ../@mod">
    24592462      <xsl:choose>
     
    25572560            <!-- enum types -->
    25582561            <xsl:when test="
    2559               (ancestor::library/enum[@name=current()]) or
    2560               (ancestor::library/if[@target=$self_target]/enum[@name=current()])
     2562              (ancestor::library/application/enum[@name=current()]) or
     2563              (ancestor::library/application/if[@target=$self_target]/enum[@name=current()])
    25612564            ">
    25622565              <xsl:text>PRUint32</xsl:text>
     
    25642567            <!-- custom interface types -->
    25652568            <xsl:when test="
    2566               (name(current())='enumerator' and
    2567                ((ancestor::library/enumerator[@name=current()]) or
    2568                 (ancestor::library/if[@target=$self_target]/enumerator[@name=current()]))
    2569               ) or
    2570               ((ancestor::library/interface[@name=current()]) or
    2571                (ancestor::library/if[@target=$self_target]/interface[@name=current()])
    2572               )
     2569              (ancestor::library/application/interface[@name=current()]) or
     2570              (ancestor::library/application/if[@target=$self_target]/interface[@name=current()])
    25732571            ">
    25742572              <xsl:value-of select="."/>
     
    25932591
    25942592  <xsl:choose>
    2595     <!-- modifiers (ignored for 'enumeration' attributes)-->
     2593    <!-- modifiers -->
    25962594    <xsl:when test="name(current())='type' and ../@mod">
    25972595      <xsl:choose>
     
    26832681            <!-- enum types -->
    26842682            <xsl:when test="
    2685               (ancestor::library/enum[@name=current()]) or
    2686               (ancestor::library/if[@target=$self_target]/enum[@name=current()])
     2683              (ancestor::library/application/enum[@name=current()]) or
     2684              (ancestor::library/application/if[@target=$self_target]/enum[@name=current()])
    26872685            ">
    26882686              <xsl:text>PRUint32</xsl:text>
     
    26902688            <!-- custom interface types -->
    26912689            <xsl:when test="
    2692               (name(current())='enumerator' and
    2693                ((ancestor::library/enumerator[@name=current()]) or
    2694                 (ancestor::library/if[@target=$self_target]/enumerator[@name=current()]))
    2695               ) or
    2696               ((ancestor::library/interface[@name=current()]) or
    2697                (ancestor::library/if[@target=$self_target]/interface[@name=current()])
    2698               )
     2690              (ancestor::library/application/interface[@name=current()]) or
     2691              (ancestor::library/application/if[@target=$self_target]/interface[@name=current()])
    26992692            ">
    27002693              <xsl:value-of select="."/>
     
    27092702</xsl:template>
    27102703
     2704
     2705<xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']//module/class" />
     2706
     2707<xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']/if//interface
     2708| application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']//interface" />
     2709
     2710<xsl:template match="application[@uuid='ec0e78e8-fa43-43e8-ac0a-02c784c4a4fa']//interface" mode="forward" />
     2711
     2712
    27112713</xsl:stylesheet>
    2712 
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