USBControllerImpl.h revision 3ae1af412a33395845eaefd272ec486551a78a25
/** @file
*
* VBox USBController COM Class declaration.
*/
/*
* 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_USBCONTROLLERIMPL
#define ____H_USBCONTROLLERIMPL
#include "VirtualBoxBase.h"
#include "USBDeviceFilterImpl.h"
#include <list>
/**
* @note we cannot use VirtualBoxBaseWithTypedChildren <USBDeviceFilter> as a
* base class, because we want a quick (map-based) way of validating
* IUSBDeviceFilter pointers passed from outside as method parameters that
* VirtualBoxBaseWithChildren::getDependentChild() gives us.
*/
{
struct Data
{
/* Constructor. */
{
}
/** Enabled indicator. */
/** Enabled indicator for EHCI. */
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IUSBController properties
// IUSBController methods
// public methods only for internal purposes
bool isModified();
bool isReallyModified();
bool rollback();
void commit();
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
/** @note this doesn't require a read lock since mParent is constant. */
// for VirtualBoxSupportErrorInfoImpl
/** specialization for IUSBDeviceFilter */
{
: NULL;
}
void printList();
/** Parent object. */
/** Peer object. */
/** Data. */
// so they cannot be a part of Data
};
#endif //!____H_USBCONTROLLERIMPL