VirtualBox

Changeset 74186 in vbox


Ignore:
Timestamp:
Sep 11, 2018 6:13:54 AM (6 years ago)
Author:
vboxsync
Message:

bugref:9152. Added Progress for the second part of OCI export.

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp

    r74139 r74186  
    6767                        ("Can't create Cloud Client object!"));
    6868
     69#ifndef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS
    6970    /* Read Cloud Client parameters for Export VM operation: */
    70 #ifndef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS
    71     const QString strJSON = comCloudClient.GetOperationParameters(KCloudOperation_exportVM);
     71    QString strJSON = comCloudClient.GetOperationParameters(KCloudOperation_exportVM);
    7272#else
    73     const QString strJSON = comCloudClient.GetExportParameters();
     73    QString strJSON = comCloudClient.GetExportParameters();
    7474#endif
    7575
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r74086 r74186  
    2504325043        <desc>Initial set of parameter values.</desc>
    2504425044      </param>
     25045      <param name="progress" type="IProgress" dir="in">
     25046        <desc>Progress object to track the operation completion.</desc>
     25047      </param>
    2504525048    </method>
    2504625049
  • trunk/src/VBox/Main/src-server/ApplianceImpl.cpp

    r73893 r74186  
    10361036        }
    10371037        case ExportOCI:
     1038            cOperations = 1 + 7;
     1039            m->ulWeightForXmlOperation = 1;
     1040            ulTotalOperationsWeight = 100;
    10381041            break;
    10391042    }
  • trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp

    r74146 r74186  
    10131013        aProgress.createObject();
    10141014#endif
     1015
    10151016        // Initialize our worker task
    10161017        TaskOCI* task = NULL;
     
    24602461                    vrc = cloudClient->RunSeveralCommands(ComSafeArrayAsInParam(commandIdList),
    24612462                                                          ComSafeArrayAsInParam(paramNames),
    2462                                                           ComSafeArrayAsInParam(paramValues));
     2463                                                          ComSafeArrayAsInParam(paramValues),
     2464                                                          pTask->pProgress);
    24632465                if (RT_FAILURE(vrc))
    24642466                    hrc = E_FAIL;
Note: See TracChangeset for help on using the changeset viewer.

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