Changeset 78428 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 7, 2019 11:03:49 AM (6 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ApplianceImpl.h
r78255 r78428 102 102 HRESULT createVFSExplorer(const com::Utf8Str &aURI, 103 103 ComPtr<IVFSExplorer> &aExplorer); 104 HRESULT createVirtualSystemDescriptions(ULONG aRequested, ULONG *aCreated);105 104 HRESULT write(const com::Utf8Str &aFormat, 106 105 const std::vector<ExportOptions_T> &aOptions, … … 112 111 HRESULT addPasswords(const std::vector<com::Utf8Str> &aIdentifiers, 113 112 const std::vector<com::Utf8Str> &aPasswords); 114 113 HRESULT createVirtualSystemDescriptions(ULONG aRequested, ULONG *aCreated); 115 114 /** weak VirtualBox parent */ 116 115 VirtualBox* const mVirtualBox; … … 124 123 Data *m; 125 124 126 enum SetUpProgressMode { ImportFile, ImportS3, WriteFile, WriteS3, ExportCloud };125 enum SetUpProgressMode { ImportFile, ImportS3, WriteFile, WriteS3, ExportCloud, ImportCloud }; 127 126 128 127 /** @name General stuff … … 143 142 static void i_importOrExportThreadTask(TaskOVF *pTask); 144 143 static void i_exportOPCThreadTask(TaskOPC *pTask); 145 static void i_ exportCloudThreadTask(TaskCloud *pTask);144 static void i_importOrExportCloudThreadTask(TaskCloud *pTask); 146 145 147 146 HRESULT i_initBackendNames(); … … 171 170 HRESULT i_readSignatureFile(TaskOVF *pTask, RTVFSIOSTREAM hIosCert, const char *pszSubFileNm); 172 171 HRESULT i_readTailProcessing(TaskOVF *pTask); 172 HRESULT i_gettingCloudData(TaskCloud *pTask); 173 173 174 /** @} */ 174 175 … … 215 216 void i_importDecompressFile(ImportStack &stack, Utf8Str const &rstrSrcPath, Utf8Str const &rstrDstPath, 216 217 const char *pszManifestEntry); 218 HRESULT i_importCloudImpl(TaskCloud *pTask); 217 219 /** @} */ 218 220 … … 228 230 HRESULT i_writeFSOVA(TaskOVF *pTask, AutoWriteLockBase& writeLock); 229 231 HRESULT i_writeFSOPC(TaskOPC *pTask); 230 HRESULT i_ writeFSCloud(TaskCloud *pTask);232 HRESULT i_exportCloudImpl(TaskCloud *pTask); 231 233 HRESULT i_writeFSImpl(TaskOVF *pTask, AutoWriteLockBase &writeLock, RTVFSFSSTREAM hVfsFssDst); 232 234 HRESULT i_writeBufferToFile(RTVFSFSSTREAM hVfsFssDst, const char *pszFilename, const void *pvContent, size_t cbContent); -
trunk/src/VBox/Main/include/ApplianceImplPrivate.h
r76562 r78428 339 339 enum TaskType 340 340 { 341 Export 341 Export, 342 Import, 343 ReadData 342 344 }; 343 345 … … 353 355 rc(S_OK) 354 356 { 355 m_strTaskName = "CloudExpt"; 357 switch (taskType) 358 { 359 case TaskCloud::Export: m_strTaskName = "CloudExpt"; break; 360 case TaskCloud::Import: m_strTaskName = "CloudImpt"; break; 361 case TaskCloud::ReadData: m_strTaskName = "CloudRead"; break; 362 default: m_strTaskName = "CloudTask"; break; 363 } 356 364 } 357 365 … … 371 379 void handler() 372 380 { 373 Appliance::i_ exportCloudThreadTask(this);381 Appliance::i_importOrExportCloudThreadTask(this); 374 382 } 375 383 };
Note:
See TracChangeset
for help on using the changeset viewer.