UISession.h revision e64031e20c39650a7bc902a3e1aba613b9415dee
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * VBox frontends: Qt GUI ("VirtualBox"):
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * UISession class declaration
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * Copyright (C) 2010 Oracle Corporation
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * This file is part of VirtualBox Open Source Edition (OSE), as
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * available from http://www.virtualbox.org. This file is free software;
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * you can redistribute it and/or modify it under the terms of the GNU
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * General Public License (GPL) as published by the Free Software
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * Foundation, in version 2 as it comes in the "COPYING" file of the
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#include <QObject>
#include <QCursor>
#include "COMDefs.h"
#include "UIMachineDefs.h"
enum UIConsoleEventType
/* Machine uisession constructor/destructor: */
void powerUp();
bool isGuestSupportsGraphics() const { return isGuestAdditionsActive() && m_fIsGuestSupportsGraphics; }
bool isGuestSupportsSeamless() const { return isGuestSupportsGraphics() && m_fIsGuestSupportsSeamless; }
void setGuestResizeIgnored(bool fIsGuestResizeIgnored) { m_fIsGuestResizeIgnored = fIsGuestResizeIgnored; }
void setSeamlessModeRequested(bool fIsSeamlessModeRequested) { m_fIsSeamlessModeRequested = fIsSeamlessModeRequested; }
void setNumLockAdaptionCnt(uint uNumLockAdaptionCnt) { m_uNumLockAdaptionCnt = uNumLockAdaptionCnt; }
void setCapsLockAdaptionCnt(uint uCapsLockAdaptionCnt) { m_uCapsLockAdaptionCnt = uCapsLockAdaptionCnt; }
void setMouseCaptured(bool fIsMouseCaptured) { m_fIsMouseCaptured = fIsMouseCaptured; emit sigMouseCapturedStatusChanged(); }
#ifdef VBOX_WITH_VIDEOHWACCEL
void sigMousePointerShapeChange();
void sigMouseCapabilityChange();
void sigKeyboardLedsChange();
void sigMachineStateChange();
void sigAdditionsStateChange();
void sigStorageControllerChange();
void sigVRDPServerChange();
void sigRemoteDisplayInfoChange();
void sigUSBControllerChange();
void sigUSBDeviceStateChange(const CUSBDevice &device, bool bIsAttached, const CVirtualBoxErrorInfo &error);
void sigSharedFolderChange();
void sigMachineStarted();
void sigMouseCapturedStatusChanged();
void sltCloseVirtualSession();
void prepareMenuPool();
void loadSessionSettings();
void saveSessionSettings();
void cleanupMenuPool();
void setPointerShape(const uchar *pShapeData, bool fHasAlpha, uint uXHot, uint uYHot, uint uWidth, uint uHeight);
void reinitMenuPool();
void preparePowerUp();
#ifdef VBOX_WITH_VIDEOHWACCEL
#if defined(Q_WS_WIN)