Changeset 33239 in vbox
- Timestamp:
- Oct 19, 2010 3:59:39 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66788
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r33238 r33239 1739 1739 1740 1740 return S_OK; 1741 }1742 1743 STDMETHODIMP VirtualBox::WaitForPropertyChange(IN_BSTR /* aWhat */,1744 ULONG /* aTimeout */,1745 BSTR * /* aChanged */,1746 BSTR * /* aValues */)1747 {1748 ReturnComNotImplemented();1749 1741 } 1750 1742 -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r33238 r33239 1374 1374 <interface 1375 1375 name="IVirtualBox" extends="$unknown" 1376 uuid=" 1489e5b2-40ed-4037-b8c9-d316bbf5e07c"1376 uuid="a35a051c-0966-4582-8e9c-7c1b973f6bd2" 1377 1377 wsmap="managed" 1378 1378 > … … 2066 2066 <param name="value" type="wstring" dir="in"> 2067 2067 <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 the2074 @a what argument changes the value or until the given timeout interval2075 expires.2076 2077 The @a what argument is a comma separated list of property masks that2078 describe properties the caller is interested in. The property mask is2079 a string in the following format:2080 2081 <pre>2082 [[group.]subgroup.]name2083 </pre>2084 2085 where @c name is the property name and @c group, @c subgroup are zero2086 or more property group specifiers. Each element (group or name) in2087 the property mask may be either a Latin string or an asterisk symbol2088 (@c "*") which is used to match any string for the given element. A2089 property mask that doesn't contain asterisk symbols represents a2090 single fully qualified property name.2091 2092 Groups in the fully qualified property name go from more generic (the2093 left-most part) to more specific (the right-most part). The first2094 element is usually a name of the object the property belongs to. The2095 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 of2097 many objects of the same type. This way, property names form a2098 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.<UUID>.name</tt></td>2107 <td><link to="IMachine::name"/> property of the machine with the2108 given UUID</td>2109 </tr>2110 </table>2111 2112 Most property names directly correspond to the properties of objects2113 (components) provided by the VirtualBox library and may be used to2114 track changes to these properties. However, there may be2115 pseudo-property names that don't correspond to any existing object's2116 property directly, as well as there may be object properties that2117 don't have a corresponding property name that is understood by this2118 method, and therefore changes to such properties cannot be2119 tracked. See individual object's property descriptions to get a2120 fully qualified property name that can be used with this method (if2121 any).2122 2123 There is a special property mask @c "*" (i.e. a string consisting of a2124 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 of2135 all registered virtual machines</td>2136 </tr>2137 </table>2138 2139 <note>2140 This function is not implemented in the current version of the2141 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 caused2156 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>2161 2068 </param> 2162 2069 </method> -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r33238 r33239 149 149 STDMETHOD(SetExtraData) (IN_BSTR aKey, IN_BSTR aValue); 150 150 151 STDMETHOD(WaitForPropertyChange) (IN_BSTR aWhat, ULONG aTimeout,152 BSTR *aChanged, BSTR *aValues);153 154 151 STDMETHOD(CreateDHCPServer) (IN_BSTR aName, IDHCPServer ** aServer); 155 152 STDMETHOD(FindDHCPServerByNetworkName) (IN_BSTR aName, IDHCPServer ** aServer);
Note:
See TracChangeset
for help on using the changeset viewer.