Changeset 8539 in vbox for trunk/src/VBox
- Timestamp:
- May 2, 2008 5:02:10 PM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk
r8155 r8539 88 88 89 89 # USB Support 90 if neq ($(filter-out os2 darwin,$(BUILD_TARGET)),)90 if1of ($(BUILD_TARGET), l4 win) 91 91 VBoxBFE_DEFS += VBOXBFE_WITH_USB 92 92 VBoxBFE_SOURCES += \ -
trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.cpp
r8155 r8539 306 306 } 307 307 308 309 #ifdef USBDEVICE_WITH_EVERYTHING 308 310 /*static*/ void USBProxyService::freeInterfaceMembers (PUSBINTERFACE pIf, unsigned cIfs) 309 311 { … … 326 328 } 327 329 } 330 #endif 331 328 332 329 333 /*static*/ void USBProxyService::freeDevice (PUSBDEVICE pDevice) 330 334 { 335 #ifdef USBDEVICE_WITH_EVERYTHING 331 336 PUSBCONFIG pCfg = pDevice->paConfigurations; 332 337 unsigned cCfgs = pDevice->bNumConfigurations; … … 346 351 RTMemFree (pDevice->paConfigurations); 347 352 pDevice->paConfigurations = NULL; 353 #endif 348 354 349 355 RTStrFree ((char *)pDevice->pszManufacturer); -
trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.h
r8155 r8539 140 140 141 141 public: 142 #ifdef USBDEVICE_WITH_EVERYTHING 142 143 /** 143 144 * Free all the members of a USB interface returned by getDevice(). … … 147 148 */ 148 149 static void freeInterfaceMembers (PUSBINTERFACE pIf, unsigned cIfs); 150 #endif 149 151 150 152 /** -
trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp
r8155 r8539 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * VBox frontends: Basic Frontend (BFE): 4 4 * Implementation of USBProxyServiceLinux class 5 * 6 * WARNING: This file needs to be resynced and is currently disabled. 5 7 */ 6 8 -
trunk/src/VBox/Main/include/USBDeviceImpl.h
r8155 r8539 25 25 #include "VirtualBoxBase.h" 26 26 #include "Collection.h" 27 #include "Logging.h" 27 28 28 29 … … 114 115 if (!aDevice) 115 116 return E_POINTER; 117 RTLogPrintf("%Rfn: id=%RTuuid\n", __PRETTY_FUNCTION__, idToFind.raw()); 116 118 117 119 *aDevice = NULL; … … 122 124 Guid id; 123 125 (*it)->COMGETTER(Id) (id.asOutParam()); 126 RTLogPrintf("%Rfn: it=%RTuuid\n", __PRETTY_FUNCTION__, id.raw()); 124 127 if (id == idToFind) 125 128 found = *it; … … 128 131 129 132 if (!found) 133 { 134 RTLogPrintf("%Rfn: not found\n", __PRETTY_FUNCTION__); 130 135 return setError (E_INVALIDARG, OUSBDeviceCollection::tr ( 131 136 "Could not find a USB device with UUID {%s}"), 132 137 idToFind.toString().raw()); 138 } 133 139 134 140 return found.queryInterfaceTo (aDevice);
Note:
See TracChangeset
for help on using the changeset viewer.