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/VirtualBox/src/VBoxImportAppliance.cpp

    r16618 r16662  
    954954        CVirtualBox vbox = vboxGlobal().virtualBox();
    955955        /* Open the appliance */
    956         CAppliance appliance = vbox.OpenAppliance (file);
     956        CAppliance appliance = vbox.CreateAppliance();
    957957        if (appliance.isOk())
    958958        {
     959            appliance.Read(file); // @todo error handling
    959960            /* Now we have to interpret that stuff */
    960961            appliance.Interpret();
     
    967968                    /* Start the import asynchronously */
    968969                    CProgress progress;
    969                     progress = appliance.ImportAppliance();
     970                    progress = appliance.ImportMachines();
    970971                    if (!appliance.isOk())
    971972                    {
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