UIConsoleEventHandler.h revision 9a0c48116de3ffe1123a662b0c72fb1029a3b587
346af0930020342df40a1ca8d13eb185ad48067evboxsync * VBox frontends: Qt GUI ("VirtualBox"):
346af0930020342df40a1ca8d13eb185ad48067evboxsync * UIConsoleEventHandler class declaration
346af0930020342df40a1ca8d13eb185ad48067evboxsync * Copyright (C) 2010 Oracle Corporation
346af0930020342df40a1ca8d13eb185ad48067evboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
346af0930020342df40a1ca8d13eb185ad48067evboxsync * available from http://www.virtualbox.org. This file is free software;
346af0930020342df40a1ca8d13eb185ad48067evboxsync * you can redistribute it and/or modify it under the terms of the GNU
346af0930020342df40a1ca8d13eb185ad48067evboxsync * General Public License (GPL) as published by the Free Software
346af0930020342df40a1ca8d13eb185ad48067evboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
346af0930020342df40a1ca8d13eb185ad48067evboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
346af0930020342df40a1ca8d13eb185ad48067evboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
346af0930020342df40a1ca8d13eb185ad48067evboxsync/* Local includes */
346af0930020342df40a1ca8d13eb185ad48067evboxsync/* Local forward includes */
346af0930020342df40a1ca8d13eb185ad48067evboxsync static UIConsoleEventHandler* instance(UISession *pSession = 0);
346af0930020342df40a1ca8d13eb185ad48067evboxsync static void destroy();
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigMousePointerShapeChange(bool fVisible, bool fAlpha, QPoint hotCorner, QSize size, QVector<uint8_t> shape);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fNeedsHostCursor);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigNetworkAdapterChange(CNetworkAdapter adapter);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigMediumChange(CMediumAttachment attachment);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigUSBDeviceStateChange(CUSBDevice device, bool fAttached, CVirtualBoxErrorInfo error);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sigRuntimeError(bool fFatal, QString strId, QString strMessage);
346af0930020342df40a1ca8d13eb185ad48067evboxsync#endif /* RT_OS_DARWIN */
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sltCanShowWindow(bool &fVeto, QString &strReason);
346af0930020342df40a1ca8d13eb185ad48067evboxsync#define gConsoleEvents UIConsoleEventHandler::instance()
346af0930020342df40a1ca8d13eb185ad48067evboxsync#endif /* !__UIConsoleEventHandler_h__ */