VirtualBox

Ignore:
Timestamp:
Oct 21, 2009 10:17:08 AM (15 years ago)
Author:
vboxsync
Message:

API: make necessary adjustments to support DVD passthrough again, together with the necessary client code changes. Unfortunately it is not possible to define the API in the ideal way due to how settings are handled in MachineImpl.cpp.

File:
1 edited

Legend:

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

    r23914 r23928  
    7474    STDMETHOD(COMGETTER(Type))(DeviceType_T *aType);
    7575    STDMETHOD(COMGETTER(Passthrough))(BOOL *aPassthrough);
    76     STDMETHOD(COMSETTER(Passthrough))(BOOL aPassthrough);
    7776
    7877    // unsafe inline public methods for internal purposes only (ensure there is
     
    102101        m->medium = aMedium;
    103102        m->implicit = aImplicit;
     103    }
     104
     105    /** Must be called from under this object's write lock. */
     106    void updatePassthrough(bool aPassthrough)
     107    {
     108        m.backup();
     109        m->passthrough = aPassthrough;
    104110    }
    105111
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