Changeset 35284 in vbox for trunk/src/VBox
- Timestamp:
- Dec 21, 2010 8:49:53 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r33698 r35284 932 932 taskrc = pAppliance->readFS(task.get()); 933 933 else if (task->locInfo.storageType == VFSType_S3) 934 #ifdef VBOX_WITH_S3 934 935 taskrc = pAppliance->readS3(task.get()); 936 #else 937 taskrc = VERR_NOT_IMPLEMENTED; 938 #endif 935 939 break; 936 940 … … 939 943 taskrc = pAppliance->importFS(task.get()); 940 944 else if (task->locInfo.storageType == VFSType_S3) 945 #ifdef VBOX_WITH_S3 941 946 taskrc = pAppliance->importS3(task.get()); 947 #else 948 taskrc = VERR_NOT_IMPLEMENTED; 949 #endif 942 950 break; 943 951 … … 946 954 taskrc = pAppliance->writeFS(task.get()); 947 955 else if (task->locInfo.storageType == VFSType_S3) 956 #ifdef VBOX_WITH_S3 948 957 taskrc = pAppliance->writeS3(task.get()); 958 #else 959 taskrc = VERR_NOT_IMPLEMENTED; 960 #endif 949 961 break; 950 962 } -
trunk/src/VBox/Main/ApplianceImplExport.cpp
r35164 r35284 1906 1906 } 1907 1907 1908 #ifdef VBOX_WITH_S3 1908 1909 /** 1909 1910 * Worker code for writing out OVF to the cloud. This is called from Appliance::taskThreadWriteOVF() … … 2076 2077 return rc; 2077 2078 } 2078 2079 #endif /* VBOX_WITH_S3 */ -
trunk/src/VBox/Main/ApplianceImplImport.cpp
r34501 r35284 952 952 } 953 953 954 #ifdef VBOX_WITH_S3 954 955 /** 955 956 * Worker code for reading OVF from the cloud. This is called from Appliance::taskThreadImportOrExport() … … 1078 1079 return rc; 1079 1080 } 1081 #endif /* VBOX_WITH_S3 */ 1080 1082 1081 1083 /******************************************************************************* … … 1385 1387 } 1386 1388 1389 #ifdef VBOX_WITH_S3 1387 1390 /** 1388 1391 * Worker code for importing OVF from the cloud. This is called from Appliance::taskThreadImportOrExport() … … 1575 1578 return rc; 1576 1579 } 1580 #endif /* VBOX_WITH_S3 */ 1577 1581 1578 1582 HRESULT Appliance::readManifestFile(const Utf8Str &strFile, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pCallbacks, PSHA1STORAGE pStorage) -
trunk/src/VBox/Main/Makefile.kmk
r35170 r35284 228 228 $(if $(VBOX_WITH_LIVE_MIGRATION),VBOX_WITH_LIVE_MIGRATION,) \ 229 229 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK,) \ 230 $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) 230 $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) \ 231 $(if $(VBOX_WITH_S3),VBOX_WITH_S3,) 231 232 ifdef VBOX_WITH_USB 232 233 VBoxSVC_DEFS += \ -
trunk/src/VBox/Main/VFSExplorerImpl.cpp
r33797 r35284 226 226 rc = pVFSExplorer->updateFS(task.get()); 227 227 else if (pVFSExplorer->m->storageType == VFSType_S3) 228 #ifdef VBOX_WITH_S3 228 229 rc = pVFSExplorer->updateS3(task.get()); 230 #else 231 rc = VERR_NOT_IMPLEMENTED; 232 #endif 229 233 break; 230 234 } … … 234 238 rc = pVFSExplorer->deleteFS(task.get()); 235 239 else if (pVFSExplorer->m->storageType == VFSType_S3) 240 #ifdef VBOX_WITH_S3 236 241 rc = pVFSExplorer->deleteS3(task.get()); 242 #else 243 rc = VERR_NOT_IMPLEMENTED; 244 #endif 237 245 break; 238 246 } … … 402 410 } 403 411 412 #ifdef VBOX_WITH_S3 404 413 HRESULT VFSExplorer::updateS3(TaskVFSExplorer *aTask) 405 414 { … … 532 541 return VINF_SUCCESS; 533 542 } 543 #endif /* VBOX_WITH_S3 */ 534 544 535 545 STDMETHODIMP VFSExplorer::Update(IProgress **aProgress)
Note:
See TracChangeset
for help on using the changeset viewer.