Changeset 101057 in vbox
- Timestamp:
- Sep 7, 2023 5:12:48 PM (15 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.cpp
r101035 r101057 1386 1386 { 1387 1387 /* Enumerate possible types and check whether type is supported or already selected before adding it: */ 1388 foreach (const KStorageControllerType &enmType, comProperties.GetStorageControllerTypesFor StorageBus(enmBus))1388 foreach (const KStorageControllerType &enmType, comProperties.GetStorageControllerTypesForBus(enmBus)) 1389 1389 if (supportedTypes.contains(enmType) || enmType == m_enmType) 1390 1390 m_types[enmBus] << enmType; … … 3285 3285 { 3286 3286 QAction *pAction = m_addControllerActions.value(enmType); 3287 if (supportedBuses.contains(comProperties.GetStorageBusFor StorageControllerType(enmType)))3287 if (supportedBuses.contains(comProperties.GetStorageBusForControllerType(enmType))) 3288 3288 menu.addAction(pAction); 3289 3289 } -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r101039 r101057 12619 12619 name="IPlatformProperties" 12620 12620 extends="$unknown" 12621 uuid=" fb682653-c51d-42d4-bc30-db7c3e8bf75d"12621 uuid="1ec98a25-d94c-4cfb-a012-5e21481c154c" 12622 12622 wsmap="managed" 12623 12623 rest="managed" … … 12870 12870 </method> 12871 12871 12872 <method name="getStorageBusFor StorageControllerType">12872 <method name="getStorageBusForControllerType"> 12873 12873 <desc>Returns the <link to="StorageBus"/> enum value 12874 12874 for a given storage controller type.</desc> … … 12883 12883 </method> 12884 12884 12885 <method name="getStorageControllerTypesFor StorageBus">12885 <method name="getStorageControllerTypesForBus"> 12886 12886 <desc>Returns the possible <link to="StorageControllerType"/> enum values 12887 12887 for a given storage bus.</desc> -
trunk/src/VBox/Main/include/PlatformPropertiesImpl.h
r101043 r101057 107 107 HRESULT getDeviceTypesForStorageBus(StorageBus_T aBus, 108 108 std::vector<DeviceType_T> &aDeviceTypes) RT_OVERRIDE; 109 HRESULT getStorageBusFor StorageControllerType(StorageControllerType_T aStorageControllerType,110 111 HRESULT getStorageControllerTypesFor StorageBus(StorageBus_T aStorageBus,112 109 HRESULT getStorageBusForControllerType(StorageControllerType_T aStorageControllerType, 110 StorageBus_T *aStorageBus) RT_OVERRIDE; 111 HRESULT getStorageControllerTypesForBus(StorageBus_T aStorageBus, 112 std::vector<StorageControllerType_T> &aStorageControllerTypes) RT_OVERRIDE; 113 113 HRESULT getStorageControllerHotplugCapable(StorageControllerType_T aControllerType, 114 114 BOOL *aHotplugCapable) RT_OVERRIDE; -
trunk/src/VBox/Main/src-all/PlatformPropertiesImpl.cpp
r101049 r101057 474 474 } 475 475 476 HRESULT PlatformProperties::getStorageBusFor StorageControllerType(StorageControllerType_T aStorageControllerType,477 476 HRESULT PlatformProperties::getStorageBusForControllerType(StorageControllerType_T aStorageControllerType, 477 StorageBus_T *aStorageBus) 478 478 { 479 479 /* no need to lock, this is const */ … … 514 514 } 515 515 516 HRESULT PlatformProperties::getStorageControllerTypesFor StorageBus(StorageBus_T aStorageBus,517 516 HRESULT PlatformProperties::getStorageControllerTypesForBus(StorageBus_T aStorageBus, 517 std::vector<StorageControllerType_T> &aStorageControllerTypes) 518 518 { 519 519 aStorageControllerTypes.resize(0); -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r101035 r101057 4420 4420 4421 4421 StorageBus_T enmStorageBus = StorageBus_Null; 4422 HRESULT hrc = platformProperties->GetStorageBusFor StorageControllerType(aStorageControllerType, &enmStorageBus);4422 HRESULT hrc = platformProperties->GetStorageBusForControllerType(aStorageControllerType, &enmStorageBus); 4423 4423 if (FAILED(hrc)) 4424 4424 return hrc;
Note:
See TracChangeset
for help on using the changeset viewer.