GuestImpl.h revision b437ef35ba13d0ec1f99a627f25b9b67304829f6
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2007 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_GUESTIMPL
#define ____H_GUESTIMPL
#include "VirtualBoxBase.h"
#ifdef VBOX_WITH_GUEST_CONTROL
#endif
typedef enum
{
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IGuest properties
// IGuest methods
// public methods that are not in IDL
// for VirtualBoxSupportErrorInfoImpl
# ifdef VBOX_WITH_GUEST_CONTROL
/** Static callback for handling guest notifications. */
static DECLCALLBACK(int) doGuestCtrlNotification(void *pvExtension, uint32_t u32Function, void *pvParms, uint32_t cbParms);
# endif
# ifdef VBOX_WITH_GUEST_CONTROL
struct CallbackContext
{
void *pvData;
/** Atomic flag whether callback was called. */
volatile bool bCalled;
};
/** Handler for guest execution control notifications. */
# endif
struct Data
{
mSupportsGraphics (FALSE) {}
};
# ifdef VBOX_WITH_GUEST_CONTROL
/** General extension callback for guest control. */
volatile uint32_t mNextContextID;
# endif
};
#endif // ____H_GUESTIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */