SerialPortImpl.h revision 3e9f6883fb7330ccf36825d45dd7524a51c975d2
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* 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 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_SERIALPORTIMPL
#define ____H_SERIALPORTIMPL
#include "VirtualBoxBase.h"
{
struct Data
{
Data()
: mSlot (0)
, mIRQ (4)
, mIOBase (0x3f8)
{}
{
}
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// ISerialPort properties
// public methods only for internal purposes
bool rollback();
void commit();
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
// for VirtualBoxSupportErrorInfoImpl
};
#endif // ____H_FLOPPYDRIVEIMPL