Changeset 74146 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Sep 7, 2018 5:08:21 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124918
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r74136 r74146 1001 1001 } 1002 1002 1003 #ifndef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS 1003 1004 SetUpProgressMode mode = ExportOCI; 1004 1005 … … 1008 1009 if (FAILED(rc)) 1009 1010 return rc; 1010 1011 #else 1012 // we need to do that as otherwise Task won't be created successfully 1013 aProgress.createObject(); 1014 #endif 1011 1015 // Initialize our worker task 1012 1016 TaskOCI* task = NULL; … … 2478 2482 LogRel(("Appliance::i_writeFSOCI(): calling OCICloudClient::exportVM\n")); 2479 2483 2484 /// @todo that's to be moved to ExpTack, but we need to have that method 2485 /// exposed in .xidl 2480 2486 if (m->virtualSystemDescriptions.size() == 1) { 2487 pTask->pProgress->init(mVirtualBox, static_cast<IAppliance*>(this), 2488 Bstr("Test progress").raw(), 2489 TRUE /* aCancelable */, 2490 5, // ULONG cOperations, 2491 100, // ULONG ulTotalOperationsWeight, 2492 Bstr("Do something").raw(), // aFirstOperationDescription 2493 25); // ULONG ulFirstOperationWeight, 2494 2481 2495 cloudClient->ExportVM(m->virtualSystemDescriptions.front(), pTask->pProgress); 2482 2496 } else { 2483 /// @todo Fail here with user notification. We do export 1 VM only 2484 } 2497 /// @todo Fail here with user notification. We do export 1 VM only } 2485 2498 } 2486 2499 #endif
Note:
See TracChangeset
for help on using the changeset viewer.