MediumFormatImpl.h revision c0d22c23d3289cef0332f4d61ab15df48ed34979
/* $Id$ */
/** @file
*
* MediumFormat COM class implementation
*/
/*
* 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 MEDIUMFORMAT_IMPL_H_
#define MEDIUMFORMAT_IMPL_H_
#include "MediumFormatWrap.h"
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
{
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// 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 */
// wrapped IMediumFormat properties
// wrapped IMediumFormat methods
// types
// data
struct Data
{
const StrArray maFileExtensions;
const DeviceTypeArray maDeviceTypes;
const PropertyArray maProperties;
};
Data m;
};
#endif // MEDIUMFORMAT_IMPL_H_
/* vi: set tabstop=4 shiftwidth=4 expandtab: */