KeyboardImpl.h revision 34fb894dc88943727d5d4c7c5f05517cee7e3736
/* $Id$ */
/** @file
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2014 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_KEYBOARDIMPL
#define ____H_KEYBOARDIMPL
#include "KeyboardWrap.h"
#include "ConsoleEvents.h"
#include "EventImpl.h"
enum { KEYBOARD_MAX_DEVICES = 2 };
/** Simple keyboard event class. */
{
bool i_isValid()
{
}
int scan;
};
// template instantiation
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
Console *i_getParent() const
{
return mParent;
}
// Wrapped Keyboard properties
// Wrapped Keyboard members
static DECLCALLBACK(void) i_keyboardLedStatusChange(PPDMIKEYBOARDCONNECTOR pInterface, PDMKEYBLEDS enmLeds);
/** Pointer to the associated keyboard driver(s). */
/** Pointer to the device instance for the VMM Device. */
/** Set after the first attempt to find the VMM Device. */
bool mfVMMDevInited;
};
#endif // !____H_KEYBOARDIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */