VirtualBox

Changeset 7746 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 4, 2008 2:34:58 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29289
Message:

Solaris host USB: Initially proxy stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/USBProxyService.h

    r5999 r7746  
    387387
    388388
     389# ifdef RT_OS_SOLARIS
     390#  include <libdevinfo.h>
     391
     392/**
     393 * The Solaris hosted USB Proxy Service.
     394 */
     395class USBProxyServiceSolaris : public USBProxyService
     396{
     397public:
     398    USBProxyServiceSolaris (Host *aHost);
     399    ~USBProxyServiceSolaris();
     400
     401    virtual int captureDevice (HostUSBDevice *aDevice);
     402    virtual int releaseDevice (HostUSBDevice *aDevice);
     403    virtual bool updateDeviceState (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice);
     404    virtual void deviceAdded (HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice);
     405
     406protected:
     407    virtual int wait (unsigned aMillies);
     408    virtual int interruptWait (void);
     409    virtual PUSBDEVICE getDevices (void);
     410    int addDeviceToChain (PUSBDEVICE pDev, PUSBDEVICE *ppFirst, PUSBDEVICE **pppNext, int rc);
     411};
     412#endif  /* RT_OS_SOLARIS */
     413
     414
    389415# ifdef RT_OS_WINDOWS
    390416/**
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