VirtualBox

Changeset 56271 in vbox for trunk/include/VBox/vusb.h


Ignore:
Timestamp:
Jun 8, 2015 10:35:35 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100849
Message:

VUSB: Rename VUSBIDevIsEmulated to VUSBIDevIsSavedStateSupported to make the use case clear

File:
1 edited

Legend:

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

    r56141 r56271  
    883883
    884884    /**
    885      * Returns whether the device is completely emulated.
    886      *
    887      * @returns true if the device is fully emulated and doesn't pass through
    888      *          a host device, false otherwise.
     885     * Returns whether the device implements the saved state handlers
     886     * and doesn't need to get detached.
     887     *
     888     * @returns true if the device supports saving the state, false otherwise.
    889889     * @param   pInterface      Pointer to the device interface structure.
    890890     */
    891     DECLR3CALLBACKMEMBER(bool, pfnIsEmulated,(PVUSBIDEVICE pInterface));
     891    DECLR3CALLBACKMEMBER(bool, pfnIsSavedStateSupported,(PVUSBIDEVICE pInterface));
    892892
    893893    /**
     
    969969
    970970/**
    971  * Returns whether the device is completely emulated.
    972  *
    973  * @returns true if the device is fully emulated and doesn't pass through
    974  *          a host device, false otherwise.
    975  * @param   pInterface      Pointer to the device interface structure.
    976  */
    977 DECLINLINE(bool) VUSBIDevIsEmulated(PVUSBIDEVICE pInterface)
    978 {
    979     return pInterface->pfnIsEmulated(pInterface);
     971 * @copydoc VUSBIDEVICE::pfnIsSaveStateSupported
     972 */
     973DECLINLINE(bool) VUSBIDevIsSavedStateSupported(PVUSBIDEVICE pInterface)
     974{
     975    return pInterface->pfnIsSavedStateSupported(pInterface);
    980976}
    981977#endif /* IN_RING3 */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette