VirtualBox

Ignore:
Timestamp:
Apr 7, 2009 2:55:12 PM (16 years ago)
Author:
vboxsync
Message:

Main: INetworkAdapter separate properties for hostonly & bridged interface names

File:
1 edited

Legend:

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

    r17684 r18826  
    4444            , mAttachmentType (NetworkAttachmentType_Null)
    4545            ,  mCableConnected (TRUE), mLineSpeed (0), mTraceEnabled (FALSE)
    46             , mHostInterface ("") /* cannot be null */
     46            , mHostOnlyInterface ("") /* cannot be null */
     47            , mBridgedInterface ("") /* cannot be null */
    4748        {}
    4849
     
    5758                    mLineSpeed == that.mLineSpeed &&
    5859                    mTraceEnabled == that.mTraceEnabled &&
    59                     mHostInterface == that.mHostInterface &&
     60                    mHostOnlyInterface == that.mHostOnlyInterface &&
     61                    mBridgedInterface == that.mBridgedInterface &&
    6062                    mInternalNetwork == that.mInternalNetwork &&
    6163                    mNATNetwork == that.mNATNetwork);
     
    7173        BOOL mTraceEnabled;
    7274        Bstr mTraceFile;
    73         Bstr mHostInterface;
     75        Bstr mHostOnlyInterface;
     76        Bstr mBridgedInterface;
    7477        Bstr mInternalNetwork;
    7578        Bstr mNATNetwork;
     
    109112    STDMETHOD(COMSETTER(MACAddress)) (IN_BSTR aMACAddress);
    110113    STDMETHOD(COMGETTER(AttachmentType)) (NetworkAttachmentType_T *aAttachmentType);
    111     STDMETHOD(COMGETTER(HostInterface)) (BSTR *aHostInterface);
    112     STDMETHOD(COMSETTER(HostInterface)) (IN_BSTR aHostInterface);
     114    STDMETHOD(COMGETTER(HostOnlyInterface)) (BSTR *aHostInterface);
     115    STDMETHOD(COMSETTER(HostOnlyInterface)) (IN_BSTR aHostInterface);
     116    STDMETHOD(COMGETTER(BridgedInterface)) (BSTR *aHostInterface);
     117    STDMETHOD(COMSETTER(BridgedInterface)) (IN_BSTR aHostInterface);
    113118    STDMETHOD(COMGETTER(InternalNetwork)) (BSTR *aInternalNetwork);
    114119    STDMETHOD(COMSETTER(InternalNetwork)) (IN_BSTR aInternalNetwork);
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