Changeset 4097 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 9, 2007 3:16:21 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23551
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl
r4071 r4097 102 102 <xsl:text> 103 103 /* 104 * This contains Qt-based wrapper classes for [XP]COM interfaces.104 * DO NOT EDIT! This is a generated file. 105 105 * 106 * DO NOT EDIT! This is a generated file. 107 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML) 108 * Generator: src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl 106 * Qt-based wrapper classes for VirualBox Main API (COM interfaces) 107 * generated from XIDL (XML interface definition). 109 108 * 110 * Note: this header must be included from COMDefs.h, never directly. 109 * Source : src/VBox/Main/idl/VirtualBox.xidl 110 * Generator : src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl 111 * 112 * Note: this header must be included from COMDefs.h, never directly. 111 113 */ 112 114 </xsl:text> … … 222 224 * libraries 223 225 --> 224 <xsl:template match=" module">226 <xsl:template match="library"> 225 227 <!-- forward declarations --> 226 228 <xsl:text>// forward declarations

</xsl:text> … … 315 317 </xsl:for-each> 316 318 </xsl:if> 317 <!-- for definitions outside <if> (i.e. inside < module>) -->319 <!-- for definitions outside <if> (i.e. inside <library>) --> 318 320 <xsl:if test="name(..)!='if'"> 319 321 <xsl:for-each select=" … … 405 407 </xsl:for-each> 406 408 </xsl:if> 407 <!-- for definitions outside <if> (i.e. inside < module>) -->409 <!-- for definitions outside <if> (i.e. inside <library>) --> 408 410 <xsl:if test="name(..)!='if'"> 409 411 <xsl:for-each select=" … … 576 578 * co-classes 577 579 --> 578 <xsl:template match=" class"/>580 <xsl:template match="module/class"/> 579 581 580 582 … … 825 827 ancestor-or-self::enumerator)[1]/@supportsErrorInfo 826 828 "/> 827 <xsl:variable name=" moduleSupportsErrorInfo" select="ancestor::module/@supportsErrorInfo"/>829 <xsl:variable name="librarySupportsErrorInfo" select="ancestor::library/@supportsErrorInfo"/> 828 830 <xsl:choose> 829 831 <xsl:when test="$ifaceSupportsErrorInfo"> … … 833 835 </xsl:call-template> 834 836 </xsl:when> 835 <xsl:when test="$ moduleSupportsErrorInfo">837 <xsl:when test="$librarySupportsErrorInfo"> 836 838 <xsl:call-template name="composeFetchErrorInfo"> 837 <xsl:with-param name="supports" select="string($ moduleSupportsErrorInfo)"/>839 <xsl:with-param name="supports" select="string($librarySupportsErrorInfo)"/> 838 840 <xsl:with-param name="mode" select="$mode"/> 839 841 </xsl:call-template> … … 916 918 <!-- enum types --> 917 919 <xsl:when test=" 918 (ancestor:: module/enum[@name=current()/@type]) or919 (ancestor:: module/if[@target=$self_target]/enum[@name=current()/@type])920 (ancestor::library/enum[@name=current()/@type]) or 921 (ancestor::library/if[@target=$self_target]/enum[@name=current()/@type]) 920 922 "> 921 923 <xsl:choose> … … 946 948 <xsl:when test=" 947 949 @type='$unknown' or 948 ((ancestor:: module/enumerator[@name=current()/@type]) or949 (ancestor:: module/if[@target=$self_target]/enumerator[@name=current()/@type])950 ((ancestor::library/enumerator[@name=current()/@type]) or 951 (ancestor::library/if[@target=$self_target]/enumerator[@name=current()/@type]) 950 952 ) or 951 ((ancestor:: module/interface[@name=current()/@type]) or952 (ancestor:: module/if[@target=$self_target]/interface[@name=current()/@type])953 ((ancestor::library/interface[@name=current()/@type]) or 954 (ancestor::library/if[@target=$self_target]/interface[@name=current()/@type]) 953 955 ) or 954 ((ancestor:: module/collection[@name=current()/@type]) or955 (ancestor:: module/if[@target=$self_target]/collection[@name=current()/@type])956 ((ancestor::library/collection[@name=current()/@type]) or 957 (ancestor::library/if[@target=$self_target]/collection[@name=current()/@type]) 956 958 ) 957 959 "> … … 1107 1109 <!-- enum types --> 1108 1110 <xsl:when test=" 1109 (ancestor:: module/enum[@name=current()]) or1110 (ancestor:: module/if[@target=$self_target]/enum[@name=current()])1111 (ancestor::library/enum[@name=current()]) or 1112 (ancestor::library/if[@target=$self_target]/enum[@name=current()]) 1111 1113 "> 1112 1114 <xsl:value-of select="concat('CEnums::',string(.))"/> … … 1115 1117 <xsl:when test=" 1116 1118 (name(current())='enumerator' and 1117 ((ancestor:: module/enumerator[@name=current()]) or1118 (ancestor:: module/if[@target=$self_target]/enumerator[@name=current()]))1119 ((ancestor::library/enumerator[@name=current()]) or 1120 (ancestor::library/if[@target=$self_target]/enumerator[@name=current()])) 1119 1121 ) or 1120 ((ancestor:: module/interface[@name=current()]) or1121 (ancestor:: module/if[@target=$self_target]/interface[@name=current()])1122 ((ancestor::library/interface[@name=current()]) or 1123 (ancestor::library/if[@target=$self_target]/interface[@name=current()]) 1122 1124 ) or 1123 ((ancestor:: module/collection[@name=current()]) or1124 (ancestor:: module/if[@target=$self_target]/collection[@name=current()])1125 ((ancestor::library/collection[@name=current()]) or 1126 (ancestor::library/if[@target=$self_target]/collection[@name=current()]) 1125 1127 ) 1126 1128 "> … … 1220 1222 <!-- enum types initialized with 0 --> 1221 1223 <xsl:when test=" 1222 (ancestor:: module/enum[@name=current()]) or1223 (ancestor:: module/if[@target=$self_target]/enum[@name=current()])1224 (ancestor::library/enum[@name=current()]) or 1225 (ancestor::library/if[@target=$self_target]/enum[@name=current()]) 1224 1226 "> 1225 1227 <xsl:value-of select="concat(' = (CEnums::',string(.),') 0')"/> … … 1245 1247 .='string' or 1246 1248 .='wstring' or 1247 ((ancestor:: module/enum[@name=current()]) or1248 (ancestor:: module/if[@target=$self_target]/enum[@name=current()])1249 ((ancestor::library/enum[@name=current()]) or 1250 (ancestor::library/if[@target=$self_target]/enum[@name=current()]) 1249 1251 ) or 1250 1252 .='$unknown' or 1251 ((ancestor:: module/enumerator[@name=current()]) or1252 (ancestor:: module/if[@target=$self_target]/enumerator[@name=current()])1253 ((ancestor::library/enumerator[@name=current()]) or 1254 (ancestor::library/if[@target=$self_target]/enumerator[@name=current()]) 1253 1255 ) or 1254 ((ancestor:: module/interface[@name=current()]) or1255 (ancestor:: module/if[@target=$self_target]/interface[@name=current()])1256 ((ancestor::library/interface[@name=current()]) or 1257 (ancestor::library/if[@target=$self_target]/interface[@name=current()]) 1256 1258 ) or 1257 ((ancestor:: module/collection[@name=current()]) or1258 (ancestor:: module/if[@target=$self_target]/collection[@name=current()])1259 ((ancestor::library/collection[@name=current()]) or 1260 (ancestor::library/if[@target=$self_target]/collection[@name=current()]) 1259 1261 ) 1260 1262 ">
Note:
See TracChangeset
for help on using the changeset viewer.