Changeset 31633 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 13, 2010 10:36:32 AM (14 years ago)
- Location:
- trunk/src/VBox/Main/idl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r31629 r31633 14120 14120 14121 14121 14122 <interface 14123 name="IReusableEvent" extends="IEvent" 14124 uuid="69bfb134-80f6-4266-8e20-16371f68fa25" 14125 wsmap="managed" 14126 > 14127 <desc>Base abstract interface for all reusable events.</desc> 14128 14129 <attribute name="generation" readonly="yes" type="unsigned long"> 14130 <desc>Current generation of event, incremented on reuse.</desc> 14131 </attribute> 14132 14133 <method name="reuse"> 14134 <desc> 14135 Marks an event as reused, increments 'generation', fields shall no 14136 longer be considered valid. 14137 </desc> 14138 </method> 14139 </interface> 14140 14122 14141 <interface 14123 14142 name="IMachineEvent" extends="IEvent" -
trunk/src/VBox/Main/idl/comimpl.xsl
r31572 r31633 579 579 580 580 <xsl:template name="genSwitchCase"> 581 <xsl:param name="ifaceName" /> 581 582 <xsl:param name="implName" /> 582 583 <xsl:param name="reinit" /> … … 595 596 <xsl:choose> 596 597 <xsl:when test="$reinit='yes'"> 597 <xsl:value-of select="concat(' ComPtr<', $implName, '> obj; ')"/> 598 <xsl:value-of select=" ' obj = mEvent; '"/> 599 <xsl:value-of select=" ' Assert(obj); '"/> 598 <xsl:value-of select="concat(' ComPtr<', $ifaceName, '> iobj; ')"/> 599 <xsl:value-of select=" ' iobj = mEvent; '"/> 600 <xsl:value-of select=" ' Assert(!iobj.isNull()); '"/> 601 <xsl:value-of select="concat(' ',$implName, '* obj = (', $implName, '*)(', $ifaceName, '*)iobj; ')"/> 600 602 <xsl:value-of select=" ' obj->Reuse(); '"/> 601 603 </xsl:when> … … 634 636 </xsl:variable> 635 637 <xsl:call-template name="genSwitchCase"> 638 <xsl:with-param name="ifaceName" select="@name" /> 636 639 <xsl:with-param name="implName" select="$implName" /> 637 640 <xsl:with-param name="reinit" select="'no'" /> … … 664 667 </xsl:variable> 665 668 <xsl:call-template name="genSwitchCase"> 669 <xsl:with-param name="ifaceName" select="@name" /> 666 670 <xsl:with-param name="implName" select="$implName" /> 667 671 <xsl:with-param name="reinit" select="'yes'" />
Note:
See TracChangeset
for help on using the changeset viewer.