VirtualBox

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


Ignore:
Timestamp:
Jul 18, 2017 2:15:32 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117046
Message:

Main/NetIf (bugref:8915) Moved wireless detection from ConsoleImpl2.cpp to NetIf and exposed wireless flag via IHostNetworkInterface.

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

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

    r65120 r68026  
    7070    HRESULT getInterfaceType(HostNetworkInterfaceType_T *aType);
    7171    HRESULT getNetworkName(com::Utf8Str &aNetworkName);
     72    HRESULT getWireless(BOOL *aWireless);
    7273
    7374    // Wrapped IHostNetworkInterface methods
     
    9394        Data() : IPAddress(0), networkMask(0), dhcpEnabled(FALSE),
    9495            mediumType(HostNetworkInterfaceMediumType_Unknown),
    95             status(HostNetworkInterfaceStatus_Down){}
     96            status(HostNetworkInterfaceStatus_Down), wireless(FALSE){}
    9697
    9798        ULONG IPAddress;
     
    108109        HostNetworkInterfaceStatus_T status;
    109110        ULONG speedMbits;
     111        BOOL wireless;
    110112    } m;
    111113
  • trunk/src/VBox/Main/include/netif.h

    r67566 r68026  
    6868    RTNETADDRIPV6  IPv6Address;
    6969    RTNETADDRIPV6  IPv6NetMask;
    70     BOOL           bDhcpEnabled;
    71     BOOL           bIsDefault;
     70    BOOL           fDhcpEnabled;
     71    BOOL           fIsDefault;
     72    BOOL           fWireless;
    7273    RTMAC          MACAddress;
    7374    NETIFTYPE      enmMediumType;
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