UISession.h revision 3488e51e244adfc756837287fbfbcc03eca8bf7a
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * VBox frontends: Qt GUI ("VirtualBox"):
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * UISession class declaration
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * Copyright (C) 2010 Sun Microsystems, Inc.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * available from http://www.virtualbox.org. This file is free software;
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * you can redistribute it and/or modify it under the terms of the GNU
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * General Public License (GPL) as published by the Free Software
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync * additional information or have any questions.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync/* Global includes */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync/* Local includes */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync/* Local forwards */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync/* CConsole callback event types: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync UIConsoleEventType_MousePointerShapeChange = QEvent::User + 1,
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Machine session constructor/destructor: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync UISession(UIMachine *pMachine, const CSession &session);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Public getters: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Console signals: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigMousePointerShapeChange(bool bIsVisible, bool bHasAlpha, bool uXHot, bool uYHot, bool uWidth, bool uHeight, const uchar *pShapeData);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigMouseCapabilityChange(bool bIsSupportsAbsolute, bool bNeedsHostCursor);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigKeyboardLedsChange(bool bNumLock, bool bCapsLock, bool bScrollLock);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigNetworkAdapterChange(const CNetworkAdapter &networkAdapter);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigSerialPortChange(const CSerialPort &serialPort);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigParallelPortChange(const CParallelPort ¶llelPort);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigMediumChange(const CMediumAttachment &mediumAttachment);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigUSBDeviceStateChange(const CUSBDevice &device, bool bIsAttached, const CVirtualBoxErrorInfo &error);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigRuntimeError(bool bIsFatal, QString strErrorId, QString strMessage);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Private getters: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Event handlers: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Helper routines: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Private variables: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Friend classes: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#endif // !___UIConsole_h___