MouseImpl.h revision eeab73cfabc939c13e9e2491035489cf2a027570
/* $Id$ */
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2008 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_MOUSEIMPL
#define ____H_MOUSEIMPL
#include "VirtualBoxBase.h"
#include "ConsoleEvents.h"
#include "ConsoleImpl.h"
/** Simple mouse event class. */
{
bool isValid()
{
return state != -1;
}
// not logical to be int but that's how it's defined in QEMU
/** @todo r=bird: and what is the logical declaration then? We'll be using int32_t btw. */
int state;
};
// template instantiation
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// IMouse properties
// IMouse methods
// for VirtualBoxSupportErrorInfoImpl
/** Pointer to the associated mouse driver. */
struct DRVMAINMOUSE *mpDrv;
};
#endif // ____H_MOUSEIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */