VirtualBox

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


Ignore:
Timestamp:
Jun 16, 2009 2:03:45 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48708
Message:

NetworkAttachment: shifted the configuration to a new function configNetwork().

File:
1 edited

Legend:

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

    r20523 r20631  
    430430
    431431    static DECLCALLBACK(int) configConstructor(PVM pVM, void *pvConsole);
     432    static DECLCALLBACK(int) configNetwork(Console *pThis, const char *pszDevice,
     433                                           unsigned uInstance, unsigned uLun,
     434                                           NetworkAttachmentType_T eAttachmentType,
     435                                           NetworkAttachmentType_T *meAttachmentType,
     436                                           INetworkAdapter *aNetworkAdapter,
     437                                           PCFGMNODE pCfg, PCFGMNODE pLunL0,
     438                                           PCFGMNODE pInst, bool attachDetach);
    432439    static DECLCALLBACK(void) vmstateChangeCallback(PVM aVM, VMSTATE aState,
    433440                                                    VMSTATE aOldState, void *aUser);
     
    551558     * This does not have to match the state maintained in the Floppy. */
    552559    DriveState_T meFloppyState;
    553 #ifdef VBOX_DYNAMIC_NET_ATTACH
    554560    /** The current network attachment type in the VM.
    555561     * This does not have to match the state maintained in the NetworkAdapter. */
    556     NetworkAttachmentType_T meAttachmentType[SchemaDefs::NetworkAdapterCount];
    557 #endif /* VBOX_DYNAMIC_NET_ATTACH */
     562    static NetworkAttachmentType_T meAttachmentType[SchemaDefs::NetworkAdapterCount];
    558563
    559564    VMMDev * const mVMMDev;
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