SerialPortImpl.h revision 7b01db654c23d4e432465aebc1a1853e8d6b3194
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2013 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_SERIALPORTIMPL
#define ____H_SERIALPORTIMPL
#include "SerialPortWrap.h"
{
struct SerialPort;
}
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// public methods only for internal purposes
bool i_isModified();
void i_rollback();
void i_commit();
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
// Wrapped ISerialPort properties
////////////////////////////////////////////////////////////////////////////////
////
//// SerialPort private data definition
////
//////////////////////////////////////////////////////////////////////////////////
//
struct Data
{
Data()
: fModified(false),
{ }
bool fModified;
};
Data *m;
};
#endif // ____H_SERIALPORTIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */