VirtualBox

Changeset 37200 in vbox for trunk/include/VBox/settings.h


Ignore:
Timestamp:
May 24, 2011 3:34:06 PM (14 years ago)
Author:
vboxsync
Message:

API+Frontends: Generic network attachment driver support which obsoletes the special case for VDE. Big API cleanup in the same area. Adapt all frontends to these changes (full implementation in VBoxManage, minimum implementation in GUI).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r36275 r37200  
    1818
    1919/*
    20  * Copyright (C) 2007-2010 Oracle Corporation
     20 * Copyright (C) 2007-2011 Oracle Corporation
    2121 *
    2222 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    440440          fTraceEnabled(false),
    441441          mode(NetworkAttachmentType_Null),
    442           ulBootPriority(0),
    443           fHasDisabledNAT(false)
     442          ulBootPriority(0)
    444443    {}
    445444
     
    459458    NetworkAttachmentType_T             mode;
    460459    NAT                                 nat;
    461     /**
    462      * @remarks NAT has own attribute with bridged: host interface or empty;
    463      *          otherwise: network name (required) */
    464     com::Utf8Str                        strName;
     460    com::Utf8Str                        strBridgedName;
     461    com::Utf8Str                        strHostOnlyName;
     462    com::Utf8Str                        strInternalNetworkName;
     463    com::Utf8Str                        strGenericDriver;
     464    StringsMap                          genericProperties;
    465465    uint32_t                            ulBootPriority;
    466     bool                                fHasDisabledNAT;
    467466    com::Utf8Str                        strBandwidthGroup; // requires settings version 1.13 (VirtualBox 4.2)
    468467};
     
    10361035
    10371036    void buildHardwareXML(xml::ElementNode &elmParent, const Hardware &hw, const Storage &strg);
    1038     void buildNetworkXML(NetworkAttachmentType_T mode, xml::ElementNode &elmParent, const NetworkAdapter &nic);
     1037    void buildNetworkXML(NetworkAttachmentType_T mode, xml::ElementNode &elmParent, bool fEnabled, const NetworkAdapter &nic);
    10391038    void buildStorageControllersXML(xml::ElementNode &elmParent,
    10401039                                    const Storage &st,
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