VirtualBox

Ignore:
Timestamp:
Dec 14, 2015 2:28:25 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104690
Message:

Main: build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp

    r59117 r59119  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
    22 #include "USBProxyService.h"
     22#include "USBProxyBackend.h"
    2323#include "Logging.h"
    2424
     
    6060 * Initialize data members.
    6161 */
    62 USBProxyServiceFreeBSD::USBProxyServiceFreeBSD(Host *aHost)
    63     : USBProxyService(aHost)
    64 {
    65     LogFlowThisFunc(("aHost=%p\n", aHost));
     62USBProxyBackendFreeBSD::USBProxyBackendFreeBSD(USBProxyService *aUsbProxyService)
     63    : USBProxyBackend(aHost)
     64{
     65    LogFlowThisFunc(("aUsbProxyService=%p\n", aUsbProxyService));
    6666}
    6767
     
    7272 * @returns S_OK on success and non-fatal failures, some COM error otherwise.
    7373 */
    74 int USBProxyServiceFreeBSD::init(void)
     74int USBProxyBackendFreeBSD::init(void)
    7575{
    7676    /*
     
    9292 * Stop all service threads and free the device chain.
    9393 */
    94 USBProxyServiceFreeBSD::~USBProxyServiceFreeBSD()
     94USBProxyBackendFreeBSD::~USBProxyBackendFreeBSD()
    9595{
    9696    LogFlowThisFunc(("\n"));
     
    107107
    108108
    109 int USBProxyServiceFreeBSD::captureDevice(HostUSBDevice *aDevice)
     109int USBProxyBackendFreeBSD::captureDevice(HostUSBDevice *aDevice)
    110110{
    111111    AssertReturn(aDevice, VERR_GENERAL_FAILURE);
     
    126126
    127127
    128 int USBProxyServiceFreeBSD::releaseDevice(HostUSBDevice *aDevice)
     128int USBProxyBackendFreeBSD::releaseDevice(HostUSBDevice *aDevice)
    129129{
    130130    AssertReturn(aDevice, VERR_GENERAL_FAILURE);
     
    145145
    146146
    147 bool USBProxyServiceFreeBSD::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
     147bool USBProxyBackendFreeBSD::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
    148148                                               SessionMachine **aIgnoreMachine)
    149149{
     
    160160 * See USBProxyService::deviceAdded for details.
    161161 */
    162 void USBProxyServiceFreeBSD::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines,
     162void USBProxyBackendFreeBSD::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines,
    163163                                         PUSBDEVICE aUSBDevice)
    164164{
     
    166166}
    167167
    168 int USBProxyServiceFreeBSD::wait(RTMSINTERVAL aMillies)
     168int USBProxyBackendFreeBSD::wait(RTMSINTERVAL aMillies)
    169169{
    170170    return RTSemEventWait(mNotifyEventSem, aMillies < 1000 ? 1000 : 5000);
     
    172172
    173173
    174 int USBProxyServiceFreeBSD::interruptWait(void)
     174int USBProxyBackendFreeBSD::interruptWait(void)
    175175{
    176176    return RTSemEventSignal(mNotifyEventSem);
     
    218218}
    219219
    220 PUSBDEVICE USBProxyServiceFreeBSD::getDevices(void)
     220PUSBDEVICE USBProxyBackendFreeBSD::getDevices(void)
    221221{
    222222    PUSBDEVICE pDevices = NULL;
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