VirtualBox

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


Ignore:
Timestamp:
May 31, 2012 1:43:06 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78283
Message:

Main/USBController: whitespace cleanup

File:
1 edited

Legend:

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

    r35638 r41520  
    77
    88/*
    9  * Copyright (C) 2006-2007 Oracle Corporation
     9 * Copyright (C) 2005-2012 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3838    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(USBController, IUSBController)
    3939
    40     DECLARE_NOT_AGGREGATABLE (USBController)
     40    DECLARE_NOT_AGGREGATABLE(USBController)
    4141
    4242    DECLARE_PROTECT_FINAL_CONSTRUCT()
    4343
    4444    BEGIN_COM_MAP(USBController)
    45         VBOX_DEFAULT_INTERFACE_ENTRIES (IUSBController)
     45        VBOX_DEFAULT_INTERFACE_ENTRIES(IUSBController)
    4646    END_COM_MAP()
    4747
    48     DECLARE_EMPTY_CTOR_DTOR (USBController)
     48    DECLARE_EMPTY_CTOR_DTOR(USBController)
    4949
    5050    HRESULT FinalConstruct();
     
    5252
    5353    // public initializer/uninitializer for internal purposes only
    54     HRESULT init (Machine *aParent);
    55     HRESULT init (Machine *aParent, USBController *aThat);
    56     HRESULT initCopy (Machine *aParent, USBController *aThat);
     54    HRESULT init(Machine *aParent);
     55    HRESULT init(Machine *aParent, USBController *aThat);
     56    HRESULT initCopy(Machine *aParent, USBController *aThat);
    5757    void uninit();
    5858
    5959    // IUSBController properties
    60     STDMETHOD(COMGETTER(Enabled)) (BOOL *aEnabled);
    61     STDMETHOD(COMSETTER(Enabled)) (BOOL aEnabled);
    62     STDMETHOD(COMGETTER(EnabledEhci)) (BOOL *aEnabled);
    63     STDMETHOD(COMSETTER(EnabledEhci)) (BOOL aEnabled);
    64     STDMETHOD(COMGETTER(ProxyAvailable)) (BOOL *aEnabled);
    65     STDMETHOD(COMGETTER(USBStandard)) (USHORT *aUSBStandard);
    66     STDMETHOD(COMGETTER(DeviceFilters)) (ComSafeArrayOut (IUSBDeviceFilter *, aDevicesFilters));
     60    STDMETHOD(COMGETTER(Enabled))(BOOL *aEnabled);
     61    STDMETHOD(COMSETTER(Enabled))(BOOL aEnabled);
     62    STDMETHOD(COMGETTER(EnabledEhci))(BOOL *aEnabled);
     63    STDMETHOD(COMSETTER(EnabledEhci))(BOOL aEnabled);
     64    STDMETHOD(COMGETTER(ProxyAvailable))(BOOL *aEnabled);
     65    STDMETHOD(COMGETTER(USBStandard))(USHORT *aUSBStandard);
     66    STDMETHOD(COMGETTER(DeviceFilters))(ComSafeArrayOut(IUSBDeviceFilter *, aDevicesFilters));
    6767
    6868    // IUSBController methods
    69     STDMETHOD(CreateDeviceFilter) (IN_BSTR aName, IUSBDeviceFilter **aFilter);
    70     STDMETHOD(InsertDeviceFilter) (ULONG aPosition, IUSBDeviceFilter *aFilter);
    71     STDMETHOD(RemoveDeviceFilter) (ULONG aPosition, IUSBDeviceFilter **aFilter);
     69    STDMETHOD(CreateDeviceFilter)(IN_BSTR aName, IUSBDeviceFilter **aFilter);
     70    STDMETHOD(InsertDeviceFilter)(ULONG aPosition, IUSBDeviceFilter *aFilter);
     71    STDMETHOD(RemoveDeviceFilter)(ULONG aPosition, IUSBDeviceFilter **aFilter);
    7272
    7373    // public methods only for internal purposes
     
    7878    void rollback();
    7979    void commit();
    80     void copyFrom (USBController *aThat);
     80    void copyFrom(USBController *aThat);
    8181
    8282#ifdef VBOX_WITH_USB
    83     HRESULT onDeviceFilterChange (USBDeviceFilter *aFilter,
    84                                   BOOL aActiveChanged = FALSE);
     83    HRESULT onDeviceFilterChange(USBDeviceFilter *aFilter,
     84                                 BOOL aActiveChanged = FALSE);
    8585
    86     bool hasMatchingFilter (const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs);
    87     bool hasMatchingFilter (IUSBDevice *aUSBDevice, ULONG *aMaskedIfs);
     86    bool hasMatchingFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs);
     87    bool hasMatchingFilter(IUSBDevice *aUSBDevice, ULONG *aMaskedIfs);
    8888
    89     HRESULT notifyProxy (bool aInsertFilters);
     89    HRESULT notifyProxy(bool aInsertFilters);
    9090#endif /* VBOX_WITH_USB */
    9191
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