VirtualBox

Ignore:
Timestamp:
Mar 3, 2009 2:45:17 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43652
Message:

OVF: more export implementation.

File:
1 edited

Legend:

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

    r17098 r17287  
    581581            break;
    582582
    583         CHECK_ERROR_BREAK(pAppliance, Write(Bstr(strOutputFile)));
     583        ComPtr<IProgress> progress;
     584        CHECK_ERROR_BREAK(pAppliance, Write(Bstr(strOutputFile), progress.asOutParam()));
     585
     586        showProgress(progress);
     587
     588        if (SUCCEEDED(rc))
     589            progress->COMGETTER(ResultCode)(&rc);
     590
     591        if (FAILED(rc))
     592        {
     593            com::ProgressErrorInfo info(progress);
     594            com::GluePrintErrorInfo(info);
     595            com::GluePrintErrorContext("Write", __FILE__, __LINE__);
     596        }
     597        else
     598            RTPrintf("Successfully exported %d machine(s).\n", llMachines.size());
    584599
    585600    } while (0);
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