MouseImpl.h revision c58f1213e628a545081c70e26c6b67a841cff880
/* $Id$ */
/** @file
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2011 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_MOUSEIMPL
#define ____H_MOUSEIMPL
#include "VirtualBoxBase.h"
#include "ConsoleEvents.h"
#include "ConsoleImpl.h"
#ifndef VBOXBFE_WITHOUT_COM
#include "EventImpl.h"
#endif
/** Maximum number of devices supported */
enum { MOUSE_MAX_DEVICES = 3 };
/** Mouse driver instance data. */
#ifndef VBOXBFE_WITHOUT_COM
#endif
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IMouse properties
// IMouse methods
#ifndef VBOXBFE_WITHOUT_COM
#endif
{
return mParent;
}
/** notify the front-end of guest capability changes */
{
}
bool fUsesVMMDevEvent);
bool *pfValid);
void sendMouseCapsNotifications(void);
bool guestNeedsHostCursor(void);
bool vmmdevCanAbs(void);
bool deviceCanAbs(void);
bool supportsAbs(void);
bool supportsRel(void);
#ifdef VBOXBFE_WITHOUT_COM
#else
#endif
/** Pointer to the associated mouse driver. */
#ifndef VBOXBFE_WITHOUT_COM
#else
{}
#endif
};
#ifdef VBOXBFE_WITHOUT_COM
/** @todo make this a member of Console */
/** @todo can we get these from the API somehow? */
enum
{
};
#endif
#endif // !____H_MOUSEIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */