VirtualBox

Changeset 33239 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Oct 19, 2010 3:59:39 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66788
Message:

Main: remove VirtualBox::WaitForPropertyChange which has been obsoleted by new events APIs

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/VirtualBoxImpl.cpp

    r33238 r33239  
    17391739
    17401740    return S_OK;
    1741 }
    1742 
    1743 STDMETHODIMP VirtualBox::WaitForPropertyChange(IN_BSTR /* aWhat */,
    1744                                                ULONG /* aTimeout */,
    1745                                                BSTR * /* aChanged */,
    1746                                                BSTR * /* aValues */)
    1747 {
    1748     ReturnComNotImplemented();
    17491741}
    17501742
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r33238 r33239  
    13741374  <interface
    13751375    name="IVirtualBox" extends="$unknown"
    1376     uuid="1489e5b2-40ed-4037-b8c9-d316bbf5e07c"
     1376    uuid="a35a051c-0966-4582-8e9c-7c1b973f6bd2"
    13771377    wsmap="managed"
    13781378  >
     
    20662066      <param name="value" type="wstring" dir="in">
    20672067        <desc>Value to assign to the key.</desc>
    2068       </param>
    2069     </method>
    2070 
    2071     <method name="waitForPropertyChange">
    2072       <desc>
    2073         Blocks the caller until any of the properties represented by the
    2074         @a what argument changes the value or until the given timeout interval
    2075         expires.
    2076 
    2077         The @a what argument is a comma separated list of property masks that
    2078         describe properties the caller is interested in. The property mask is
    2079         a string in the following format:
    2080 
    2081         <pre>
    2082         [[group.]subgroup.]name
    2083         </pre>
    2084 
    2085         where @c name is the property name and @c group, @c subgroup are zero
    2086         or more property group specifiers. Each element (group or name) in
    2087         the property mask may be either a Latin string or an asterisk symbol
    2088         (@c "*") which is used to match any string for the given element. A
    2089         property mask that doesn't contain asterisk symbols represents a
    2090         single fully qualified property name.
    2091 
    2092         Groups in the fully qualified property name go from more generic (the
    2093         left-most part) to more specific (the right-most part). The first
    2094         element is usually a name of the object the property belongs to.  The
    2095         second element may be either a property name, or a child object name,
    2096         or an index if the preceding element names an object which is one of
    2097         many objects of the same type. This way, property names form a
    2098         hierarchy of properties.  Here are some examples of property names:
    2099 
    2100         <table>
    2101           <tr>
    2102             <td><tt>VirtualBox.version</tt></td>
    2103             <td><link to="IVirtualBox::version"/> property</td>
    2104           </tr>
    2105           <tr>
    2106             <td><tt>Machine.&lt;UUID&gt;.name</tt></td>
    2107             <td><link to="IMachine::name"/> property of the machine with the
    2108             given UUID</td>
    2109             </tr>
    2110         </table>
    2111 
    2112         Most property names directly correspond to the properties of objects
    2113         (components) provided by the VirtualBox library and may be used to
    2114         track changes to these properties. However, there may be
    2115         pseudo-property names that don't correspond to any existing object's
    2116         property directly, as well as there may be object properties that
    2117         don't have a corresponding property name that is understood by this
    2118         method, and therefore changes to such properties cannot be
    2119         tracked. See individual object's property descriptions to get a
    2120         fully qualified property name that can be used with this method (if
    2121         any).
    2122 
    2123         There is a special property mask @c "*" (i.e. a string consisting of a
    2124         single asterisk symbol) that can be used to match all properties.
    2125         Below are more examples of property masks:
    2126 
    2127         <table>
    2128           <tr>
    2129             <td><tt>VirtualBox.*</tt></td>
    2130             <td>Track all properties of the VirtualBox object</td>
    2131           </tr>
    2132           <tr>
    2133             <td><tt>Machine.*.name</tt></td>
    2134             <td>Track changes to the <link to="IMachine::name"/> property of
    2135             all registered virtual machines</td>
    2136           </tr>
    2137         </table>
    2138 
    2139         <note>
    2140           This function is not implemented in the current version of the
    2141           product.
    2142         </note>
    2143       </desc>
    2144       <param name="what" type="wstring" dir="in">
    2145         <desc>Comma separated list of property masks.</desc>
    2146       </param>
    2147       <param name="timeout" type="unsigned long" dir="in">
    2148         <desc>
    2149           Wait timeout in milliseconds.
    2150           Specify -1 for an indefinite wait.
    2151         </desc>
    2152       </param>
    2153       <param name="changed" type="wstring" dir="out">
    2154         <desc>
    2155           Comma separated list of properties that have been changed and caused
    2156           this method to return to the caller.
    2157         </desc>
    2158       </param>
    2159       <param name="values" type="wstring" dir="out">
    2160         <desc>Reserved, not currently used.</desc>
    21612068      </param>
    21622069    </method>
  • trunk/src/VBox/Main/include/VirtualBoxImpl.h

    r33238 r33239  
    149149    STDMETHOD(SetExtraData) (IN_BSTR aKey, IN_BSTR aValue);
    150150
    151     STDMETHOD(WaitForPropertyChange) (IN_BSTR aWhat, ULONG aTimeout,
    152                                       BSTR *aChanged, BSTR *aValues);
    153 
    154151    STDMETHOD(CreateDHCPServer) (IN_BSTR aName, IDHCPServer ** aServer);
    155152    STDMETHOD(FindDHCPServerByNetworkName) (IN_BSTR aName, IDHCPServer ** aServer);
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