VirtualBox

Ignore:
Timestamp:
Jun 30, 2011 1:51:51 PM (13 years ago)
Author:
vboxsync
Message:

Main/MediumAttachment+Machine: add a setting which controls the guest-triggered medium eject behavior, fix handling "implicit" media, and corresponding VBoxManage and documentation updates

File:
1 edited

Legend:

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

    r37695 r37709  
    4747                 LONG aDevice,
    4848                 DeviceType_T aType,
     49                 bool fImplicit,
    4950                 bool fPassthrough,
     51                 bool fTempEject,
    5052                 const Utf8Str &strBandwidthGroup);
    5153    void uninit();
     
    6163    STDMETHOD(COMGETTER(Type))(DeviceType_T *aType);
    6264    STDMETHOD(COMGETTER(Passthrough))(BOOL *aPassthrough);
     65    STDMETHOD(COMGETTER(TemporaryEject))(BOOL *aTemporaryEject);
    6366    STDMETHOD(COMGETTER(IsEjected))(BOOL *aIsEjected);
    6467    STDMETHOD(COMGETTER(BandwidthGroup))(IBandwidthGroup **aBwGroup);
     
    7982    DeviceType_T getType() const;
    8083    bool getPassthrough() const;
     84    bool getTempEject() const;
    8185    const Utf8Str& getBandwidthGroup() const;
    8286
     
    8892    /** Must be called from under this object's write lock. */
    8993    void updatePassthrough(bool aPassthrough);
     94
     95    /** Must be called from under this object's write lock. */
     96    void updateTempEject(bool aTempEject);
    9097
    9198    /** Must be called from under this object's write lock. */
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