VirtualBox

Changeset 37599 in vbox


Ignore:
Timestamp:
Jun 22, 2011 9:06:38 PM (13 years ago)
Author:
vboxsync
Message:

Main/USBProxyService: implementation inheritance is not so great that we have to pretend to do it when we are not

Location:
trunk/src/VBox/Main/src-server
Files:
6 edited

Legend:

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

    r36993 r37599  
    4545
    4646/**
    47  * Initialize the object.
    48  *
    49  * Child classes should override and call this method
    50  *
    51  * @returns S_OK on success, or COM error status on fatal error.
     47 * Stub needed as long as the class isn't virtual
    5248 */
    5349HRESULT USBProxyService::init(void)
  • trunk/src/VBox/Main/src-server/darwin/USBProxyServiceDarwin.cpp

    r31892 r37599  
    5353HRESULT USBProxyServiceDarwin::init(void)
    5454{
    55     /*
    56      * Call the superclass method first.
    57      */
    58     HRESULT hrc = USBProxyService::init();
    59     AssertComRCReturn(hrc, hrc);
    60 
    6155#ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    6256    /*
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyServiceFreeBSD.cpp

    r34014 r37599  
    7373HRESULT USBProxyServiceFreeBSD::init(void)
    7474{
    75     /*
    76      * Call the superclass method first.
    77      */
    78     HRESULT hrc = USBProxyService::init();
    79     AssertComRCReturn(hrc, hrc);
    80 
    8175    /*
    8276     * Create semaphore.
  • trunk/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp

    r37596 r37599  
    105105{
    106106    /*
    107      * Call the superclass method first.
    108      */
    109     HRESULT hrc = USBProxyService::init();
    110     AssertComRCReturn(hrc, hrc);
    111 
    112     /*
    113107     * We have two methods available for getting host USB device data - using
    114108     * USBFS and using sysfs.  The default choice is sysfs; if that is not
  • trunk/src/VBox/Main/src-server/solaris/USBProxyServiceSolaris.cpp

    r33540 r37599  
    6868HRESULT USBProxyServiceSolaris::init(void)
    6969{
    70     /*
    71      * Call the superclass method first.
    72      */
    73     HRESULT hrc = USBProxyService::init();
    74     AssertComRCReturn(hrc, hrc);
    75 
    7670    /*
    7771     * Create semaphore.
  • trunk/src/VBox/Main/src-server/win/USBProxyServiceWindows.cpp

    r36941 r37599  
    5353{
    5454    /*
    55      * Call the superclass method first.
    56      */
    57     HRESULT hrc = USBProxyService::init();
    58     AssertComRCReturn(hrc, hrc);
    59 
    60     /*
    6155     * Create the semaphore (considered fatal).
    6256     */
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