Changeset 16662 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 11, 2009 1:01:48 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42654
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
r16606 r16662 155 155 Bstr bstrOvfFilename(strOvfFilename); 156 156 ComPtr<IAppliance> appliance; 157 CHECK_ERROR_BREAK(a->virtualBox, OpenAppliance(bstrOvfFilename, appliance.asOutParam())); 157 CHECK_ERROR_BREAK(a->virtualBox, CreateAppliance(appliance.asOutParam())); 158 159 CHECK_ERROR_BREAK(appliance, Read(bstrOvfFilename)); 158 160 159 161 RTPrintf("Interpreting %s... ", strOvfFilename.c_str()); … … 434 436 ComPtr<IProgress> progress; 435 437 CHECK_ERROR_BREAK(appliance, 436 Import Appliance(progress.asOutParam()));438 ImportMachines(progress.asOutParam())); 437 439 438 440 showProgress(progress); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxImportAppliance.cpp
r16618 r16662 954 954 CVirtualBox vbox = vboxGlobal().virtualBox(); 955 955 /* Open the appliance */ 956 CAppliance appliance = vbox. OpenAppliance (file);956 CAppliance appliance = vbox.CreateAppliance(); 957 957 if (appliance.isOk()) 958 958 { 959 appliance.Read(file); // @todo error handling 959 960 /* Now we have to interpret that stuff */ 960 961 appliance.Interpret(); … … 967 968 /* Start the import asynchronously */ 968 969 CProgress progress; 969 progress = appliance.Import Appliance();970 progress = appliance.ImportMachines(); 970 971 if (!appliance.isOk()) 971 972 {
Note:
See TracChangeset
for help on using the changeset viewer.