VirtualBox

Changeset 31615 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 12, 2010 6:12:39 PM (14 years ago)
Author:
vboxsync
Message:

Main: Implemenation of per-machine media registries; VirtualBox::openMedium() no longer adds media to the global registry, instead a media are stored in a machine XML registry after Machine::AttachDevice() has been called; Machine::AttachDevice() now takes an IMedium object instead of a UUID; also make Machine::Unregister() work again for inaccessible machines

File:
1 edited

Legend:

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

    r31580 r31615  
    131131
    132132/**
     133 * A media registry. Starting with VirtualBox 3.3, this can appear in both the
     134 * VirtualBox.xml file as well as machine XML files with settings version 1.11
     135 * or higher, so these lists are now in ConfigFileBase.
     136 *
    133137 * NOTE: If you add any fields in here, you must update a) the constructor and b)
    134138 * the operator== which is used by MachineConfigFile::operator==(), or otherwise
     
    917921    bool operator==(const MachineConfigFile &m) const;
    918922
     923    bool canHaveOwnMediaRegistry() const;
     924
    919925    void importMachineXML(const xml::ElementNode &elmMachine);
    920926
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