HardDiskFormatImpl.h revision f6adf1a86574758258baa232172c965aed0d848d
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2008 Sun Microsystems, Inc.
*
* 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef ____H_HARDDISKFORMAT
#define ____H_HARDDISKFORMAT
#include "VirtualBoxBase.h"
#include <list>
struct VDBACKENDINFO;
/**
* The HardDiskFormat class represents the backend used to store hard disk data
* (IHardDiskFormat interface).
*
* @note Instances of this class are permanently caller-referenced by HardDisk2
* objects (through addCaller()) so that an attempt to uninitialize or delete
* them before all HardDisk2 objects are uninitialized will produce an endless
* wait!
*/
{
struct Property
{
};
struct Data
{
Data() : capabilities (0) {}
const BstrList fileExtensions;
const uint64_t capabilities;
const PropertyList properties;
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IHardDiskFormat properties
// IHardDiskFormat methods
// public methods only for internal purposes
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
/** Const, no need to lock */
/** Const, no need to lock */
/** Const, no need to lock */
/** Const, no need to lock */
// for VirtualBoxSupportErrorInfoImpl
Data m;
};
#endif // ____H_HARDDISKFORMAT
/* vi: set tabstop=4 shiftwidth=4 expandtab: */