VirtualBox

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


Ignore:
Timestamp:
Dec 19, 2008 6:28:27 PM (16 years ago)
Author:
vboxsync
Message:

Main: #3424: Bumped XML format version to 1.6 and so that the auto-converter will delete old <HostInterface> nodes containing TAPSetup/TAPTerminate attributes. Removed all (obsolete) sections of code in #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING (that uses these attributes); removed the define itself.

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

Legend:

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

    r15051 r15708  
    7171            return setError (E_ACCESSDENIED, tr ("The console is not powered up")); \
    7272    } while (0)
    73 
    74 /** @def VBOX_WITH_UNIXY_TAP_NETWORKING
    75  *  Unixy style TAP networking. This is defined in the Makefile since it's also
    76  *  used by NetworkAdapterImpl.h/cpp.
    77  */
    78 #ifdef __DOXYGEN__
    79 # define VBOX_WITH_UNIXY_TAP_NETWORKING
    80 #endif
    8173
    8274// Console
     
    553545    PPDMLED     mapSharedFolderLed;
    554546    PPDMLED     mapUSBLed[2];
    555 #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING
    556     Utf8Str     maTAPDeviceName[8];
    557     RTFILE      maTapFD[8];
    558 #endif
    559547
    560548    bool mVMStateChangeCallbackDisabled;
  • trunk/src/VBox/Main/include/NetworkAdapterImpl.h

    r15537 r15708  
    4545            , mAttachmentType (NetworkAttachmentType_Null)
    4646            ,  mCableConnected (TRUE), mLineSpeed (0), mTraceEnabled (FALSE)
    47 #ifndef VBOX_WITH_UNIXY_TAP_NETWORKING
    48             , mHostInterface ("") // cannot be null
    49 #else
    50             , mTAPFD (NIL_RTFILE)
    51 #endif
     47            , mHostInterface ("") /* cannot be null */
    5248        {}
    5349
     
    6359                    mTraceEnabled == that.mTraceEnabled &&
    6460                    mHostInterface == that.mHostInterface &&
    65 #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING
    66                     mTAPSetupApplication == that.mTAPSetupApplication &&
    67                     mTAPTerminateApplication == that.mTAPTerminateApplication &&
    68                     mTAPFD == that.mTAPFD &&
    69 #endif
    7061                    mInternalNetwork == that.mInternalNetwork &&
    7162                    mNATNetwork == that.mNATNetwork);
     
    8273        Bstr mTraceFile;
    8374        Bstr mHostInterface;
    84 #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING
    85         Bstr mTAPSetupApplication;
    86         Bstr mTAPTerminateApplication;
    87         RTFILE mTAPFD;
    88 #endif
    8975        Bstr mInternalNetwork;
    9076        Bstr mNATNetwork;
     
    126112    STDMETHOD(COMGETTER(HostInterface)) (BSTR *aHostInterface);
    127113    STDMETHOD(COMSETTER(HostInterface)) (IN_BSTR aHostInterface);
    128 #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING
    129     STDMETHOD(COMGETTER(TAPFileDescriptor)) (LONG *aTAPFileDescriptor);
    130     STDMETHOD(COMSETTER(TAPFileDescriptor)) (LONG aTAPFileDescriptor);
    131     STDMETHOD(COMGETTER(TAPSetupApplication)) (BSTR *aTAPSetupApplication);
    132     STDMETHOD(COMSETTER(TAPSetupApplication)) (IN_BSTR aTAPSetupApplication);
    133     STDMETHOD(COMGETTER(TAPTerminateApplication)) (BSTR *aTAPTerminateApplication);
    134     STDMETHOD(COMSETTER(TAPTerminateApplication)) (IN_BSTR aTAPTerminateApplication);
    135 #endif
    136114    STDMETHOD(COMGETTER(InternalNetwork)) (BSTR *aInternalNetwork);
    137115    STDMETHOD(COMSETTER(InternalNetwork)) (IN_BSTR aInternalNetwork);
  • trunk/src/VBox/Main/include/VirtualBoxXMLUtil.h

    r14949 r15708  
    2929
    3030/** VirtualBox XML settings version number substring ("x.y")  */
    31 #define VBOX_XML_VERSION        "1.5"
     31#define VBOX_XML_VERSION        "1.6"
    3232
    3333/** VirtualBox XML settings version platform substring */
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