StorageControllerImpl.h revision 7b01db654c23d4e432465aebc1a1853e8d6b3194
/* $Id$ */
/** @file
*
* VBox StorageController COM Class declaration.
*/
/*
* Copyright (C) 2008-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_STORAGECONTROLLERIMPL
#define ____H_STORAGECONTROLLERIMPL
#include "StorageControllerWrap.h"
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
bool fBootable);
bool aReshare = false);
void uninit();
// public methods only for internal purposes
StorageBus_T i_getStorageBus() const;
ULONG i_getInstance() const;
bool i_getBootable() const;
void i_rollback();
void i_commit();
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
void i_unshare();
/** @note this doesn't require a read lock since mParent is constant. */
Machine* i_getMachine();
// Wrapped IStorageController properties
void i_printList();
struct Data;
Data *m;
};
#endif //!____H_STORAGECONTROLLERIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */