Changeset 34787 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Dec 7, 2010 2:51:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r34610 r34787 21 21 *******************************************************************************/ 22 22 #ifndef VBOX_ONLY_DOCS 23 # include <VBox/com/com.h>24 # include <VBox/com/string.h>25 # include <VBox/com/Guid.h>26 # include <VBox/com/array.h>27 # include <VBox/com/ErrorInfo.h>28 # include <VBox/com/errorprint.h>29 # include <VBox/com/EventQueue.h>30 31 # include <VBox/com/VirtualBox.h>23 # include <VBox/com/com.h> 24 # include <VBox/com/string.h> 25 # include <VBox/com/Guid.h> 26 # include <VBox/com/array.h> 27 # include <VBox/com/ErrorInfo.h> 28 # include <VBox/com/errorprint.h> 29 # include <VBox/com/EventQueue.h> 30 31 # include <VBox/com/VirtualBox.h> 32 32 #endif /* !VBOX_ONLY_DOCS */ 33 33 … … 912 912 Bstr bstrTarball(szPath); 913 913 Bstr bstrName; 914 CHECK_ERROR2_RET(ptrExtPackMgr, Install(bstrTarball.raw(), bstrName.asOutParam()), RTEXITCODE_FAILURE); 914 ComPtr<IExtPackFile> ptrExtPackFile; 915 CHECK_ERROR2_RET(ptrExtPackMgr, OpenExtPackFile(bstrTarball.raw(), ptrExtPackFile.asOutParam()), RTEXITCODE_FAILURE); 916 CHECK_ERROR2_RET(ptrExtPackFile, COMGETTER(Name)(bstrName.asOutParam()), RTEXITCODE_FAILURE); 917 CHECK_ERROR2_RET(ptrExtPackFile, Install(), RTEXITCODE_FAILURE); 915 918 RTPrintf("Successfully installed \"%lS\".\n", bstrName.raw()); 916 919 }
Note:
See TracChangeset
for help on using the changeset viewer.