ApplianceImpl.h revision 15760030457c4d8548d42a9d543646b27eae7040
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2009 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_APPLIANCEIMPL
#define ____H_APPLIANCEIMPL
/* VBox includes */
#include "VirtualBoxBase.h"
/* VBox forward declarations */
struct VirtualSystemDescriptionEntry;
{
struct HardDiskController;
struct VirtualSystem;
struct DiskImage;
}
{
}
{
}
{
enum OVFFormat
{
};
// public initializer/uninitializer for internal purposes only
void FinalRelease() { uninit(); }
void uninit();
// for VirtualBoxSupportErrorInfoImpl
/* IAppliance properties */
STDMETHOD(COMGETTER(VirtualSystemDescriptions))(ComSafeArrayOut(IVirtualSystemDescription*, aVirtualSystemDescriptions));
/* IAppliance methods */
/* Import methods */
/* Export methods */
/* public methods only for internal purposes */
/* private instance data */
/** weak VirtualBox parent */
VirtualBox* const mVirtualBox;
struct Data; // opaque, defined in ApplianceImpl.cpp
Data *m;
bool isApplianceIdle() const;
void addWarning(const char* aWarning, ...);
void disksWeight();
const Bstr &bstrDescription,
struct LocationInfo;
struct TaskOVF;
struct ImportStack;
const Utf8Str &strTargetPath,
ImportStack &stack);
ImportStack &stack);
ImportStack &stack);
struct XMLStack;
HRESULT writeFS(const LocationInfo &locInfo, const OVFFormat enFormat, ComObjPtr<Progress> &pProgress);
};
{
};
{
// public initializer/uninitializer for internal purposes only
void FinalRelease() { uninit(); }
void uninit();
// for VirtualBoxSupportErrorInfoImpl
/* IVirtualSystemDescription properties */
/* IVirtualSystemDescription methods */
/* public methods only for internal purposes */
const Utf8Str &aVboxValue,
/* private instance data */
struct Data;
Data *m;
};
#endif // ____H_APPLIANCEIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */