MediumFormatImpl.h revision 3e729152bacbdd8ae206df8fafe3187bb9fb7614
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2008-2010 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_MEDIUMFORMAT
#define ____H_MEDIUMFORMAT
#include "VirtualBoxBase.h"
#include <list>
struct VDBACKENDINFO;
/**
* The MediumFormat class represents the backend used to store medium data
* (IMediumFormat interface).
*
* @note Instances of this class are permanently caller-referenced by Medium
* objects (through addCaller()) so that an attempt to uninitialize or delete
* them before all Medium objects are uninitialized will produce an endless
* wait!
*/
{
struct Property
{
};
struct Data
{
Data() : capabilities(0) {}
const StrList llFileExtensions;
const uint64_t capabilities;
const PropertyList llProperties;
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IMediumFormat properties
// IMediumFormat 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 */
Data m;
};
#endif // ____H_MEDIUMFORMAT
/* vi: set tabstop=4 shiftwidth=4 expandtab: */