Changeset 75766 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Nov 27, 2018 11:00:10 AM (6 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ApplianceImpl.h
r73892 r75766 115 115 class TaskOVF; 116 116 class TaskOPC; 117 class Task OCI;117 class TaskCloud; 118 118 119 119 struct Data; // opaque, defined in ApplianceImpl.cpp 120 120 Data *m; 121 121 122 enum SetUpProgressMode { ImportFile, ImportS3, WriteFile, WriteS3, Export OCI};122 enum SetUpProgressMode { ImportFile, ImportS3, WriteFile, WriteS3, ExportCloud }; 123 123 124 124 /** @name General stuff … … 139 139 static void i_importOrExportThreadTask(TaskOVF *pTask); 140 140 static void i_exportOPCThreadTask(TaskOPC *pTask); 141 static void i_export OCIThreadTask(TaskOCI*pTask);141 static void i_exportCloudThreadTask(TaskCloud *pTask); 142 142 143 143 HRESULT i_initBackendNames(); … … 218 218 HRESULT i_writeImpl(ovf::OVFVersion_T aFormat, const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress); 219 219 HRESULT i_writeOPCImpl(ovf::OVFVersion_T aFormat, const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress); 220 HRESULT i_write OCIImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress);220 HRESULT i_writeCloudImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress); 221 221 222 222 HRESULT i_writeFS(TaskOVF *pTask); … … 224 224 HRESULT i_writeFSOVA(TaskOVF *pTask, AutoWriteLockBase& writeLock); 225 225 HRESULT i_writeFSOPC(TaskOPC *pTask); 226 HRESULT i_writeFS OCI(TaskOCI*pTask);226 HRESULT i_writeFSCloud(TaskCloud *pTask); 227 227 HRESULT i_writeFSImpl(TaskOVF *pTask, AutoWriteLockBase &writeLock, RTVFSFSSTREAM hVfsFssDst); 228 228 HRESULT i_writeBufferToFile(RTVFSFSSTREAM hVfsFssDst, const char *pszFilename, const void *pvContent, size_t cbContent); -
trunk/src/VBox/Main/include/ApplianceImplPrivate.h
r75312 r75766 231 231 uint32_t m_cPwProvided; 232 232 233 struct OciExportData_T {233 struct CloudExportData_T { 234 234 Utf8Str strDisplayMachineName; 235 235 Utf8Str strProfileFilePath; … … 245 245 }; 246 246 247 OciExportData_T m_OciExportData;247 CloudExportData_T m_CloudExportData; 248 248 }; 249 249 … … 346 346 347 347 348 class Appliance::Task OCI: public ThreadTask348 class Appliance::TaskCloud : public ThreadTask 349 349 { 350 350 public: … … 354 354 }; 355 355 356 Task OCI(Appliance *aThat,356 TaskCloud(Appliance *aThat, 357 357 TaskType aType, 358 358 LocationInfo aLocInfo, 359 359 ComObjPtr<Progress> &aProgress) 360 : ThreadTask("Task OCI"),360 : ThreadTask("TaskCloud"), 361 361 pAppliance(aThat), 362 362 taskType(aType), … … 365 365 rc(S_OK) 366 366 { 367 m_strTaskName = " OCIExpt";368 } 369 370 ~Task OCI()367 m_strTaskName = "CloudExpt"; 368 } 369 370 ~TaskCloud() 371 371 { 372 372 } … … 383 383 void handler() 384 384 { 385 Appliance::i_export OCIThreadTask(this);385 Appliance::i_exportCloudThreadTask(this); 386 386 } 387 387 };
Note:
See TracChangeset
for help on using the changeset viewer.