VirtualBox

Ignore:
Timestamp:
Feb 11, 2009 1:01:48 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42654
Message:

OVF: create new IAppliance::read() method instead of reading in constructor; IVirtualBox::openAppliance -> createAppliance; IAppliance->importAppliance -> importMachines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp

    r16606 r16662  
    155155        Bstr bstrOvfFilename(strOvfFilename);
    156156        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));
    158160
    159161        RTPrintf("Interpreting %s... ", strOvfFilename.c_str());
     
    434436                ComPtr<IProgress> progress;
    435437                CHECK_ERROR_BREAK(appliance,
    436                                   ImportAppliance(progress.asOutParam()));
     438                                  ImportMachines(progress.asOutParam()));
    437439
    438440                showProgress(progress);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette