Changeset 65088 in vbox for trunk/src/VBox/Main/include/USBProxyBackend.h
- Timestamp:
- Jan 3, 2017 8:52:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/USBProxyBackend.h
r65063 r65088 42 42 public: 43 43 44 DECLARE_EMPTY_CTOR_DTOR 44 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackend) 45 45 46 46 HRESULT FinalConstruct(); … … 131 131 132 132 133 # if def RT_OS_DARWIN133 # if defined(RT_OS_DARWIN) || defined(DOXYGEN_RUNNING) 134 134 # include <VBox/param.h> 135 135 # undef PAGE_SHIFT … … 145 145 { 146 146 public: 147 DECLARE_EMPTY_CTOR_DTOR 147 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendDarwin) 148 148 149 149 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress); … … 182 182 183 183 184 # if def RT_OS_LINUX184 # if defined(RT_OS_LINUX) || defined(DOXYGEN_RUNNING) 185 185 # include <stdio.h> 186 186 # ifdef VBOX_USB_WITH_SYSFS … … 194 194 { 195 195 public: 196 DECLARE_EMPTY_CTOR_DTOR 196 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendLinux) 197 197 198 198 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress); … … 237 237 238 238 239 # if def RT_OS_OS2239 # if defined(RT_OS_OS2) || defined(DOXYGEN_RUNNING) 240 240 # include <usbcalls.h> 241 241 … … 246 246 { 247 247 public: 248 DECLARE_EMPTY_CTOR_DTOR (USBProxyBackend)249 250 virtual int captureDevice 251 virtual int releaseDevice 248 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendOs2) 249 250 virtual int captureDevice(HostUSBDevice *aDevice); 251 virtual int releaseDevice(HostUSBDevice *aDevice); 252 252 253 253 protected: … … 273 273 APIRET (APIENTRY *mpfnUsbQueryDeviceReport)(ULONG, PULONG, PVOID); 274 274 }; 275 # endif /* RT_OS_ LINUX*/276 277 278 # if def RT_OS_SOLARIS275 # endif /* RT_OS_OS2 */ 276 277 278 # if defined(RT_OS_SOLARIS) || defined(DOXYGEN_RUNNING) 279 279 # include <libdevinfo.h> 280 280 … … 285 285 { 286 286 public: 287 DECLARE_EMPTY_CTOR_DTOR 287 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendSolaris) 288 288 289 289 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress); … … 293 293 virtual void removeFilter (void *aID); 294 294 295 virtual int captureDevice 296 virtual int releaseDevice 295 virtual int captureDevice(HostUSBDevice *aDevice); 296 virtual int releaseDevice(HostUSBDevice *aDevice); 297 297 virtual void captureDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess); 298 298 virtual void releaseDeviceCompleted(HostUSBDevice *aDevice, bool aSuccess); … … 313 313 314 314 315 # if def RT_OS_WINDOWS315 # if defined(RT_OS_WINDOWS) || defined(DOXYGEN_RUNNING) 316 316 /** 317 317 * The Windows hosted USB Proxy Backend. … … 320 320 { 321 321 public: 322 DECLARE_EMPTY_CTOR_DTOR 322 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendWindows) 323 323 324 324 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress); … … 328 328 virtual void removeFilter (void *aID); 329 329 330 virtual int captureDevice 331 virtual int releaseDevice 330 virtual int captureDevice(HostUSBDevice *aDevice); 331 virtual int releaseDevice(HostUSBDevice *aDevice); 332 332 333 333 virtual bool i_isDevReEnumerationRequired(); … … 344 344 # endif /* RT_OS_WINDOWS */ 345 345 346 # if def RT_OS_FREEBSD346 # if defined(RT_OS_FREEBSD) || defined(DOXYGEN_RUNNING) 347 347 /** 348 348 * The FreeBSD hosted USB Proxy Backend. … … 351 351 { 352 352 public: 353 DECLARE_EMPTY_CTOR_DTOR 353 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendFreeBSD) 354 354 355 355 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress); … … 402 402 { 403 403 public: 404 DECLARE_EMPTY_CTOR_DTOR 404 DECLARE_EMPTY_CTOR_DTOR(USBProxyBackendUsbIp) 405 405 406 406 int init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress);
Note:
See TracChangeset
for help on using the changeset viewer.