Changeset 3392 in vbox for trunk/src/VBox/Main/include/USBProxyService.h
- Timestamp:
- Jul 3, 2007 2:54:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/USBProxyService.h
r2981 r3392 88 88 * 89 89 * @returns true if there is a state change. 90 * @param pDevice The device in question. 91 * @param pUSBDevice The USB device structure for the last enumeration. 92 */ 93 virtual bool updateDeviceState (HostUSBDevice *pDevice, PUSBDEVICE pUSBDevice); 90 * @param aDevice The device in question. 91 * @param aUSBDevice The USB device structure for the last enumeration. 92 */ 93 virtual bool updateDeviceState (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice); 94 95 /** 96 * Add device notification hook for the OS specific code. 97 * 98 * @param aDevice The device in question. 99 * @param aUSBDevice The USB device structure. 100 */ 101 virtual void deviceAdded (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice); 102 103 /** 104 * Remove device notification hook for the OS specific code. 105 * 106 * @param aDevice The device in question. 107 */ 108 virtual void deviceRemoved (HostUSBDevice *aDevice); 94 109 95 110 /** … … 182 197 183 198 public: 199 /** 200 * Free all the members of a USB device returned by getDevice(). 201 * 202 * @param pDevice Pointer to the device. 203 */ 204 static void freeDeviceMembers (PUSBDEVICE pDevice); 205 184 206 /** 185 207 * Free one USB device returned by getDevice(). … … 282 304 virtual int resetDevice (HostUSBDevice *aDevice); 283 305 virtual bool updateDeviceState (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice); 306 virtual void deviceAdded (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice); 284 307 285 308 protected: … … 287 310 virtual int interruptWait (void); 288 311 virtual PUSBDEVICE getDevices (void); 312 int addDeviceToChain (PUSBDEVICE pDev, PUSBDEVICE *ppFirst, PUSBDEVICE **pppNext, int rc); 289 313 290 314 private: … … 299 323 /** The root of usbfs. */ 300 324 Utf8Str mUsbfsRoot; 325 /** Number of 500ms polls left to do. See usbDeterminState for details. */ 326 unsigned mUdevPolls; 301 327 }; 302 328 # endif /* __LINUX__ */
Note:
See TracChangeset
for help on using the changeset viewer.