VirtualBox

Changeset 15334 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Dec 11, 2008 7:37:55 PM (16 years ago)
Author:
vboxsync
Message:

Main: #3377: Implicitly detach DVD/Floppy from an unregistered machine (as opposed to hard disks, this does not have side effects).

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DVDDriveImpl.h

    r15051 r15334  
    108108    void copyFrom (DVDDrive *aThat);
    109109
     110    HRESULT unmount();
     111
    110112    // public methods for internal purposes only
    111113    // (ensure there is a caller and a read lock before calling them!)
     
    118120private:
    119121
    120     HRESULT unmount();
    121 
    122122    const ComObjPtr <Machine, ComWeakRef> mParent;
    123123    const ComObjPtr <DVDDrive> mPeer;
  • trunk/src/VBox/Main/include/FloppyDriveImpl.h

    r15051 r15334  
    108108    void copyFrom (FloppyDrive *aThat);
    109109
     110    HRESULT unmount();
     111
    110112    // public methods for internal purposes only
    111113    // (ensure there is a caller and a read lock before calling them!)
     
    118120private:
    119121
    120     HRESULT unmount();
    121 
    122122    const ComObjPtr <Machine, ComWeakRef> mParent;
    123123    const ComObjPtr <FloppyDrive> mPeer;
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