VirtualBox

Changeset 8539 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
May 2, 2008 5:02:10 PM (17 years ago)
Author:
vboxsync
Message:

Drop the USBDEVICE bits we don't currently need.

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk

    r8155 r8539  
    8888
    8989# USB Support
    90 ifneq ($(filter-out os2 darwin,$(BUILD_TARGET)),)
     90if1of ($(BUILD_TARGET), l4 win)
    9191VBoxBFE_DEFS += VBOXBFE_WITH_USB
    9292VBoxBFE_SOURCES += \
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.cpp

    r8155 r8539  
    306306}
    307307
     308
     309#ifdef USBDEVICE_WITH_EVERYTHING
    308310/*static*/ void USBProxyService::freeInterfaceMembers (PUSBINTERFACE pIf, unsigned cIfs)
    309311{
     
    326328    }
    327329}
     330#endif
     331
    328332
    329333/*static*/ void USBProxyService::freeDevice (PUSBDEVICE pDevice)
    330334{
     335#ifdef USBDEVICE_WITH_EVERYTHING
    331336    PUSBCONFIG pCfg = pDevice->paConfigurations;
    332337    unsigned cCfgs = pDevice->bNumConfigurations;
     
    346351    RTMemFree (pDevice->paConfigurations);
    347352    pDevice->paConfigurations = NULL;
     353#endif
    348354
    349355    RTStrFree ((char *)pDevice->pszManufacturer);
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.h

    r8155 r8539  
    140140
    141141public:
     142#ifdef USBDEVICE_WITH_EVERYTHING
    142143    /**
    143144     * Free all the members of a USB interface returned by getDevice().
     
    147148     */
    148149    static void freeInterfaceMembers (PUSBINTERFACE pIf, unsigned cIfs);
     150#endif
    149151
    150152    /**
  • trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp

    r8155 r8539  
     1/* $Id$ */
    12/** @file
    2  *
    33 * VBox frontends: Basic Frontend (BFE):
    44 * Implementation of USBProxyServiceLinux class
     5 *
     6 * WARNING: This file needs to be resynced and is currently disabled.
    57 */
    68
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