ApplianceImpl.h revision b8cd5ac42ffdab48ecfa57f0b0fa870b556690bc
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2009 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_APPLIANCEIMPL
#define ____H_APPLIANCEIMPL
#include "VirtualBoxBase.h"
{
}
{
// public initializer/uninitializer for internal purposes only
void FinalRelease() { uninit(); }
void uninit();
// for VirtualBoxSupportErrorInfoImpl
/* IAppliance properties */
STDMETHOD(COMGETTER(VirtualSystemDescriptions))(ComSafeArrayOut(IVirtualSystemDescription*, aVirtualSystemDescriptions));
/* IAppliance methods */
/* public methods only for internal purposes */
/* private instance data */
/** weak VirtualBox parent */
struct Task; /* Worker thread for import */
struct Data; // obscure, defined in AppliannceImpl.cpp
Data *m;
HRESULT LoopThruSections(const char *pcszPath, const xml::Node *pReferencesElem, const xml::Node *pCurElem);
HRESULT HandleDiskSection(const char *pcszPath, const xml::Node *pReferencesElem, const xml::Node *pSectionElem);
};
{
};
{
// public initializer/uninitializer for internal purposes only
void FinalRelease() { uninit(); }
void uninit();
// for VirtualBoxSupportErrorInfoImpl
/* IVirtualSystemDescription properties */
/* IVirtualSystemDescription methods */
/* public methods only for internal purposes */
/* private instance data */
const Utf8Str &aOrigValue,
const Utf8Str &aAutoValue,
void addWarning(const char* aWarning, ...);
struct Data;
Data *m;
};
#endif // ____H_APPLIANCEIMPL