Changeset 51601 in vbox for trunk/src/VBox
- Timestamp:
- Jun 11, 2014 9:44:55 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94333
- Location:
- trunk/src/VBox/Main/idl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r51556 r51601 4247 4247 </desc> 4248 4248 4249 <attribute name="parent" type="IVirtualBox" readonly="yes" >4249 <attribute name="parent" type="IVirtualBox" readonly="yes" wrap-hint-server="limitedcaller"> 4250 4250 <desc>Associated parent object.</desc> 4251 4251 </attribute> … … 4255 4255 </attribute> 4256 4256 4257 <attribute name="accessible" type="boolean" readonly="yes" >4257 <attribute name="accessible" type="boolean" readonly="yes" wrap-hint-server="limitedcaller"> 4258 4258 <desc> 4259 4259 Whether this virtual machine is currently accessible or not. … … 4299 4299 </attribute> 4300 4300 4301 <attribute name="accessError" type="IVirtualBoxErrorInfo" readonly="yes" >4301 <attribute name="accessError" type="IVirtualBoxErrorInfo" readonly="yes" wrap-hint-server="limitedcaller"> 4302 4302 <desc> 4303 4303 Error information describing the reason of machine … … 4362 4362 </attribute> 4363 4363 4364 <attribute name="id" type="uuid" mod="string" readonly="yes" >4364 <attribute name="id" type="uuid" mod="string" readonly="yes" wrap-hint-server="limitedcaller"> 4365 4365 <desc>UUID of the virtual machine.</desc> 4366 4366 </attribute> … … 4634 4634 </attribute> 4635 4635 4636 <attribute name="settingsFilePath" type="wstring" readonly="yes" >4636 <attribute name="settingsFilePath" type="wstring" readonly="yes" wrap-hint-server="limitedcaller"> 4637 4637 <desc> 4638 4638 Full name of the file containing machine settings data. … … 6516 6516 </method> 6517 6517 6518 <method name="unregister" >6518 <method name="unregister" wrap-hint-server="limitedcaller"> 6519 6519 <desc> 6520 6520 Unregisters a machine previously registered with -
trunk/src/VBox/Main/idl/apiwrap-server.xsl
r51463 r51601 872 872 </xsl:call-template> 873 873 </xsl:variable> 874 <xsl:variable name="limitedAutoCaller"> 875 <xsl:call-template name="checkoption"> 876 <xsl:with-param name="optionlist" select="@wrap-hint-server"/> 877 <xsl:with-param name="option" select="'limitedcaller'"/> 878 </xsl:call-template> 879 </xsl:variable> 874 880 875 881 <xsl:value-of select="concat('STDMETHODIMP ', $topclass, 'Wrap::COMGETTER(', $attrbasename, ')(')"/> … … 902 908 <xsl:text>); 903 909 904 AutoCaller autoCaller(this); 910 </xsl:text> 911 <xsl:choose> 912 <xsl:when test="$limitedAutoCaller = 'true'"> 913 <xsl:text>AutoLimitedCaller</xsl:text> 914 </xsl:when> 915 <xsl:otherwise> 916 <xsl:text>AutoCaller</xsl:text> 917 </xsl:otherwise> 918 </xsl:choose> 919 <xsl:text> autoCaller(this); 905 920 if (FAILED(autoCaller.rc())) 906 921 throw autoCaller.rc(); … … 974 989 try 975 990 { 976 AutoCaller autoCaller(this); 991 </xsl:text> 992 <xsl:choose> 993 <xsl:when test="$limitedAutoCaller = 'true'"> 994 <xsl:text>AutoLimitedCaller</xsl:text> 995 </xsl:when> 996 <xsl:otherwise> 997 <xsl:text>AutoCaller</xsl:text> 998 </xsl:otherwise> 999 </xsl:choose> 1000 <xsl:text> autoCaller(this); 977 1001 if (FAILED(autoCaller.rc())) 978 1002 throw autoCaller.rc(); … … 1141 1165 <xsl:call-template name="capitalize"> 1142 1166 <xsl:with-param name="str" select="@name"/> 1167 </xsl:call-template> 1168 </xsl:variable> 1169 <xsl:variable name="limitedAutoCaller"> 1170 <xsl:call-template name="checkoption"> 1171 <xsl:with-param name="optionlist" select="@wrap-hint-server"/> 1172 <xsl:with-param name="option" select="'limitedcaller'"/> 1143 1173 </xsl:call-template> 1144 1174 </xsl:variable> … … 1195 1225 </xsl:for-each> 1196 1226 <xsl:text> 1197 AutoCaller autoCaller(this); 1227 </xsl:text> 1228 <xsl:choose> 1229 <xsl:when test="$limitedAutoCaller = 'true'"> 1230 <xsl:text>AutoLimitedCaller</xsl:text> 1231 </xsl:when> 1232 <xsl:otherwise> 1233 <xsl:text>AutoCaller</xsl:text> 1234 </xsl:otherwise> 1235 </xsl:choose> 1236 <xsl:text> autoCaller(this); 1198 1237 if (FAILED(autoCaller.rc())) 1199 1238 throw autoCaller.rc();
Note:
See TracChangeset
for help on using the changeset viewer.