Changeset 42131 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 12, 2012 6:16:06 PM (13 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/xpcidl.xsl
r39885 r42131 1271 1271 <!-- setter --> 1272 1272 <xsl:if test="not(@readonly='yes')"> 1273 <xsl:text> nsresult set</xsl:text>1273 <xsl:text> nsresult (*Set</xsl:text> 1274 1274 <xsl:call-template name="capitalize"> 1275 1275 <xsl:with-param name="str" select="@name"/> 1276 1276 </xsl:call-template> 1277 <xsl:text> (
</xsl:text> 1277 <xsl:text>)(</xsl:text> 1278 <xsl:value-of select="../@name" /> 1279 <xsl:text> *pThis, </xsl:text> 1278 1280 <!-- array size --> 1279 <xsl:text> in unsigned long</xsl:text>1281 <xsl:text>PRUint32 </xsl:text> 1280 1282 <xsl:value-of select="@name"/> 1281 <xsl:text>Size, 
</xsl:text>1283 <xsl:text>Size, </xsl:text> 1282 1284 <!-- array pointer --> 1283 <xsl:text> [array, size_is(</xsl:text> 1285 <xsl:apply-templates select="@type" mode="forwarder"/> 1286 <xsl:text> *</xsl:text> 1284 1287 <xsl:value-of select="@name"/> 1285 <xsl:text>Size)] in </xsl:text> 1286 <xsl:apply-templates select="@type" mode="forwarder"/> 1287 <xsl:text> </xsl:text> 1288 <xsl:value-of select="@name"/> 1289 <xsl:text>
 );
</xsl:text> 1288 <xsl:text>);
</xsl:text> 1290 1289 </xsl:if> 1291 1290 </xsl:when> -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r42129 r42131 1949 1949 1950 1950 /* Create the machine */ 1951 SafeArray<BSTR> groups; /* no groups */ 1951 1952 rc = mVirtualBox->CreateMachine(NULL, /* machine name: use default */ 1952 1953 Bstr(stack.strNameVBox).raw(), 1953 NULL, /* no groups */1954 ComSafeArrayAsInParam(groups), 1954 1955 Bstr(stack.strOsTypeVBox).raw(), 1955 1956 NULL, /* uuid */ -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r42129 r42131 3036 3036 if (aMachineGroups) 3037 3037 { 3038 com::SafeArray< BSTR> machineGroups(ComSafeArrayInArg(aMachineGroups));3038 com::SafeArray<IN_BSTR> machineGroups(ComSafeArrayInArg(aMachineGroups)); 3039 3039 for (size_t i = 0; i < machineGroups.size(); i++) 3040 3040 pllMachineGroups->push_back(machineGroups[i]); -
trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp
r37662 r42131 8 8 9 9 /* 10 * Copyright (C) 2006-201 1Oracle Corporation10 * Copyright (C) 2006-2012 Oracle Corporation 11 11 * 12 12 * This file is part of VirtualBox Open Source Edition (OSE), as … … 191 191 rc = virtualBox->CreateMachine(NULL, /* settings file */ 192 192 NS_LITERAL_STRING("A brand new name").get(), 193 0, nsnull, /* groups (safearray)*/ 193 194 nsnull, /* ostype */ 194 195 nsnull, /* machine uuid */
Note:
See TracChangeset
for help on using the changeset viewer.