VirtualBox

Changeset 55595 in vbox for trunk/src


Ignore:
Timestamp:
May 2, 2015 3:58:22 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99968
Message:

IGuestProcess needs a dummy attribute to work with the midl proxy stub stuff. Correct a silly spelling mistake in that dummy.

Location:
trunk/src/VBox/Main/idl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r55591 r55595  
    1197511975  <interface
    1197611976    name="IGuestProcess" extends="IProcess"
    11977     uuid="1f3c2d60-4c09-d824-4ca1-579a2bda858f"
     11977    uuid="35cf4b3f-4453-4f3e-c9b8-5686939c80b6"
    1197811978    wsmap="managed"
    1197911979    >
     
    1198211982      for processes the host has started in the guest.
    1198311983    </desc>
     11984    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    1198411985  </interface>
    1198511986
     
    2112621127      <see><link to="ISnapshot"/></see>
    2112721128    </desc>
    21128     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21129    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2112921130  </interface>
    2113021131
     
    2114521146      <see><link to="ISnapshot"/></see>
    2114621147    </desc>
    21147     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21148    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2114821149  </interface>
    2114921150
     
    2115721158      <see><link to="ISnapshot"/></see>
    2115821159    </desc>
    21159     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21160    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2116021161  </interface>
    2116121162
     
    2116921170      <see><link to="ISnapshot"/></see>
    2117021171    </desc>
    21171     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21172    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2117221173  </interface>
    2117321174
     
    2132821329      find out what has changed.
    2132921330    </desc>
    21330     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21331    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2133121332  </interface>
    2133221333
     
    2139521396      changes.
    2139621397    </desc>
    21397     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21398    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2139821399  </interface>
    2139921400
     
    2188921890    </desc>
    2189021891
    21891     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21892    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2189221893  </interface>
    2189321894
     
    2191821919    </desc>
    2191921920
    21920     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21921    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2192121922  </interface>
    2192221923
     
    2193221933      find out what has changed.
    2193321934    </desc>
    21934     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21935    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2193521936  </interface>
    2193621937
     
    2194521946      attributes to find out what is the current status.
    2194621947    </desc>
    21947     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21948    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2194821949  </interface>
    2194921950
     
    2195621957      Notification when video capture settings have changed.
    2195721958    </desc>
    21958     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21959    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2195921960  </interface>
    2196021961
     
    2197021971      find out what has changed.
    2197121972    </desc>
    21972     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     21973    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2197321974  </interface>
    2197421975
     
    2227822279      <link to="IConsole::state">machine state</link> change.
    2227922280    </desc>
    22280     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     22281    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2228122282  </interface>
    2228222283
     
    2264522646    dtracename="HostNameResCfgChangeEvent"
    2264622647    >
    22647     <attribute name="midlDoesNotLikEmptyInterfaces" readonly="yes" type="boolean"/>
     22648    <attribute name="midlDoesNotLikeEmptyInterfaces" readonly="yes" type="boolean"/>
    2264822649  </interface>
    2264922650
  • trunk/src/VBox/Main/idl/apiwrap-server.xsl

    r53926 r55595  
    11131113    </xsl:variable>
    11141114
     1115    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
     1116        <xsl:text>    //</xsl:text>
     1117    </xsl:if>
     1118
    11151119    <xsl:value-of select="concat('    virtual HRESULT get', $attrbasename, '(')"/>
    11161120    <xsl:variable name="passAutoCaller">
     
    11831187    </xsl:call-template>
    11841188    <xsl:text>)
    1185 {
     1189{</xsl:text>
     1190    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
     1191        <xsl:text>
     1192#if 0 /* This is a dummy attribute */</xsl:text>
     1193    </xsl:if>
     1194    <xsl:text>
    11861195    LogRelFlow(("{%p} %s: enter </xsl:text>
    11871196    <xsl:apply-templates select="@type" mode="logparamtext">
     
    12101219        <xsl:with-param name="dir" select="'out'"/>
    12111220    </xsl:apply-templates>
    1212     <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
     1221    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
    12131222        <xsl:text>
    12141223#ifdef VBOX_WITH_DTRACE_R3_MAIN
     
    12491258    <xsl:text>);
    12501259</xsl:text>
    1251     <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
     1260    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
    12521261        <xsl:text>
    12531262#ifdef VBOX_WITH_DTRACE_R3_MAIN
     
    12671276    {
    12681277        hrc = hrc2;</xsl:text>
    1269     <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
     1278    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
    12701279        <xsl:text>
    12711280#ifdef VBOX_WITH_DTRACE_R3_MAIN
     
    12831292    {
    12841293        hrc = VirtualBoxBase::handleUnexpectedExceptions(this, RT_SRC_POS);</xsl:text>
    1285     <xsl:if test="$attrbasename != 'MidlDoesNotLikEmptyInterfaces'">
     1294    <xsl:if test="$attrbasename != 'MidlDoesNotLikeEmptyInterfaces'">
    12861295        <xsl:text>
    12871296#ifdef VBOX_WITH_DTRACE_R3_MAIN
     
    13091318    </xsl:apply-templates>
    13101319    <xsl:text>, hrc));
    1311     return hrc;
     1320    return hrc;</xsl:text>
     1321    <xsl:if test="$attrbasename = 'MidlDoesNotLikeEmptyInterfaces'">
     1322        <xsl:text>
     1323#else  /* dummy attribute */
     1324    return E_FAIL;
     1325#endif /* dummy attribute */</xsl:text>
     1326    </xsl:if>
     1327    <xsl:text>
    13121328}
    13131329</xsl:text>
     
    14501466    </xsl:variable>
    14511467
    1452     <xsl:if test="@name != 'midlDoesNotLikEmptyInterfaces'">
     1468    <xsl:if test="@name != 'midlDoesNotLikeEmptyInterfaces'">
    14531469        <xsl:text>    probe </xsl:text>
    14541470        <!-- <xsl:value-of select="concat($dtracetopclass, '__get__', $dtraceattrname, '__enter(struct ', $topclass)"/> -->
     
    14651481</xsl:text>
    14661482    </xsl:if>
    1467     <xsl:if test="(not(@readonly) or @readonly!='yes') and @name != 'midlDoesNotLikEmptyInterfaces'">
     1483    <xsl:if test="(not(@readonly) or @readonly!='yes') and @name != 'midlDoesNotLikeEmptyInterfaces'">
    14681484        <xsl:text>    probe </xsl:text>
    14691485        <!-- <xsl:value-of select="concat($topclass, '__set__', $dtraceattrname, '__enter(struct ', $topclass, ' *a_pThis, ')"/>-->
  • trunk/src/VBox/Main/idl/comimpl.xsl

    r55523 r55595  
    280280  </xsl:choose>
    281281
    282   <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
     282  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
    283283    <xsl:variable name="aName" select="concat('a_',@name)"/>
    284284    <xsl:variable name="aTypeName">
     
    799799  </xsl:choose>
    800800
    801   <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
     801  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
    802802    <xsl:variable name="aName" select="concat('a_',@name)"/>
    803803    <xsl:variable name="aTypeName">
     
    837837  </xsl:choose>
    838838
    839   <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikEmptyInterfaces']">
     839  <xsl:for-each select="key('G_keyInterfacesByName', $name)/attribute[@name != 'midlDoesNotLikeEmptyInterfaces']">
    840840    <xsl:variable name="aName" select="concat('a_',@name)"/>
    841841    <xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.

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