VirtualBox

Ignore:
Timestamp:
Jul 4, 2008 3:45:38 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32821
Message:

Main: clean up the guest property code - send accesses to the console from IMachine through IInternalSessionControl and do locking correctly

File:
1 edited

Legend:

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

    r10000 r10233  
    40204020  <interface
    40214021     name="IConsole" extends="$unknown"
    4022      uuid="8b029405-b41f-40c2-9d01-b854a39f7d48"
     4022     uuid="d5a1cbda-f5d7-4824-9afe-d640c94c7dcf"
    40234023     wsmap="managed"
    40244024     >
     
    45874587      <param name="callback" type="IConsoleCallback" dir="in"/>
    45884588    </method>
    4589 
    4590     <method name="getGuestProperty">
    4591       <desc>
    4592         Reads a value from the host/guest property store.
    4593       </desc>
    4594       <param name="key" type="wstring" dir="in">
    4595         <desc>
    4596           The name of the key to read.
    4597         </desc>
    4598       </param>
    4599       <param name="value" type="wstring" dir="return">
    4600         <desc>
    4601           The value of the key.  If the key does not exist then this will be
    4602           empty.
    4603         </desc>
    4604       </param>
    4605     </method>
    4606 
    4607     <method name="setGuestProperty">
    4608       <desc>
    4609         Sets, changes or deletes a value in the host/guest property store.
    4610       </desc>
    4611       <param name="key" type="wstring" dir="in">
    4612         <desc>
    4613           The name of the key to set, change or delete.
    4614         </desc>
    4615       </param>
    4616       <param name="value" type="wstring" dir="in">
    4617         <desc>
    4618           The new value of the key to set, change or delete.  If the key does
    4619           not yet exist and @a value is non-empty, it will be created.  If
    4620           @a value is empty, the key will be deleted if it exists.
    4621         </desc>
    4622       </param>
    4623     </method>
    4624 
    46254589  </interface>
    46264590
     
    96849648  <interface
    96859649     name="IInternalSessionControl" extends="$unknown"
    9686      uuid="37838967-2430-4bb1-8acc-1b5b2c383d44"
     9650     uuid="ee0bec44-ffec-4994-8f15-c3dea54bbbb6"
    96879651     internal="yes"
    96889652     wsmap="suppress"
     
    98359799      <param name="canShow" type="boolean" dir="out"/>
    98369800      <param name="winId" type="unsigned long long" dir="out"/>
     9801    </method>
     9802
     9803    <method name="accessGuestProperty">
     9804      <desc>
     9805        Called by <link to="IMachine::getGuestProperty()"/> and by
     9806        <link to="IMachine::setGuestProperty()"/> in order to read and
     9807        modify guest properties.
     9808      </desc>
     9809      <param name="key" type="wstring" dir="in"/>
     9810      <param name="value" type="wstring" dir="in"/>
     9811      <param name="isSetter" type="boolean" dir="in"/>
     9812      <param name="retValue" type="wstring" dir="return"/>
    98379813    </method>
    98389814
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