NetworkAdapterImpl.h revision c7a378ed2fbad681c0b674351d698ef20a368935
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ____H_NETWORKADAPTER
#define ____H_NETWORKADAPTER
#include "VirtualBoxBase.h"
#include "NATEngineImpl.h"
{
struct NetworkAdapter;
}
{
struct Data
{
mLineSpeed(0),
#ifdef VBOX_WITH_VDE
#endif
{}
#ifdef VBOX_WITH_VDE
#endif
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// INetworkAdapter properties
// INetworkAdapter methods
STDMETHOD(AttachToNAT)();
STDMETHOD(AttachToVDE)();
// public methods only for internal purposes
bool isModified();
void rollback();
void commit();
void detach();
void generateMACAddress();
bool m_fModified;
};
#endif // ____H_NETWORKADAPTER
/* vi: set tabstop=4 shiftwidth=4 expandtab: */