VirtualBox

Changeset 101274 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 26, 2023 6:13:37 PM (16 months ago)
Author:
vboxsync
Message:

Main: Added guest OS type ID conversion in the settings code to internally migrate guest OS type IDs of settings < v1.20, as Main always works with the latest definitions internally. See comments for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r101168 r101274  
    15621562    static bool isAudioDriverAllowedOnThisHost(AudioDriverType_T enmDrvType);
    15631563    static AudioDriverType_T getHostDefaultAudioDriver();
     1564    static bool convertGuestOSTypeSuffix(com::Utf8Str &str, const char *pszToReplace, const char *pszReplacement);
    15641565
    15651566private:
     
    15861587    void readGroups(const xml::ElementNode &elmGroups, StringsList &llGroups);
    15871588    bool readSnapshot(const com::Guid &curSnapshotUuid, const xml::ElementNode &elmSnapshot, Snapshot &snap);
    1588     void convertOldOSType_pre1_5(com::Utf8Str &str);
     1589    void convertGuestOSTypeFromPre1_5(com::Utf8Str &str);
     1590    void convertGuestOSTypeFromPre1_20(com::Utf8Str &str);
     1591    void convertGuestOSTypeToPre1_20(com::Utf8Str &str);
    15891592    void readMachine(const xml::ElementNode &elmMachine);
    15901593    void readMachineEncrypted(const xml::ElementNode &elmMachine, PCVBOXCRYPTOIF pCryptoIf, const char *pszPassword);
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