MouseImpl.h revision c9bbc8a68f4962b4e28e1dc5d5de3f55ff63b6a8
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2007 innotek GmbH
*
* 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 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.
*
* If you received this file as part of a commercial VirtualBox
* distribution, then only the terms of your commercial VirtualBox
* license agreement apply instead of the previous paragraph.
*/
#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 methods only for internal purposes
void uninit();
// IMouse properties
// IMouse methods
// for VirtualBoxSupportErrorInfoImpl
/** Pointer to the associated mouse driver. */
struct DRVMAINMOUSE *mpDrv;
};
#endif // ____H_MOUSEIMPL