VirtualBox

Changeset 101284 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 27, 2023 9:11:34 AM (16 months ago)
Author:
vboxsync
Message:

Main: Added IPlatformProperties::supportedGuestOSTypes() getter to return supported guest OS types for a specific platform. The IVirtualBox::guestOSTypes() getter in turn will return all guest OS types for all platforms [build fix]. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/PlatformPropertiesImpl.cpp

    r101282 r101284  
    720720HRESULT PlatformProperties::getSupportedGuestOSTypes(std::vector<ComPtr<IGuestOSType>> &aSupportedGuestOSTypes)
    721721{
     722   /* We only have all supported guest OS types as part of VBoxSVC, not in VBoxC itself. */
     723#ifdef IN_VBOXSVC
    722724    std::vector<PlatformArchitecture_T> vecArchitectures(mPlatformArchitecture);
    723725    return mParent->i_getSupportedGuestOSTypes(vecArchitectures, aSupportedGuestOSTypes);
     726#else /* VBoxC */
     727    RT_NOREF(aSupportedGuestOSTypes);
     728    return VBOX_E_NOT_SUPPORTED;
     729#endif
    724730}
    725731
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette