c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync * VBox Qt GUI - UISession class declaration.
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync * Copyright (C) 2010-2013 Oracle Corporation
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.
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* Qt includes: */
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* GUI includes: */
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* COM includes: */
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* Forward declarations: */
1ae2aeb1d8bb1614cf94d8de9a5afed3a2510161vboxsync#else /* !Q_WS_MAC */
cd2563833557c14e1739f8e10c4922061708caf1vboxsync#endif /* !Q_WS_MAC */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync/* CConsole callback event types: */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync UIConsoleEventType_MousePointerShapeChange = QEvent::User + 1,
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync /* Not used: UIConsoleEventType_SerialPortChange, */
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync /* Not used: UIConsoleEventType_ParallelPortChange, */
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync /* Not used: UIConsoleEventType_StorageControllerChange, */
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync /* Not used: UIConsoleEventType_CPUChange, */
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync /** Factory constructor. */
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync static bool create(UISession *&pSession, UIMachine *pMachine);
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync /** Factory destructor. */
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync /* API: Runtime UI stuff: */
17b7eff404131866d50161b72ce9cc739536e26evboxsync bool powerOff(bool fIncludingDiscard, bool &fServerCrashed);
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the session instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the session's machine instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the session's console instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the console's display instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the console's guest instance. */
7a0d82615ea8dce4fc6c090fff7a24dcc621f7a8vboxsync /** Returns the console's mouse instance. */
7a0d82615ea8dce4fc6c090fff7a24dcc621f7a8vboxsync /** Returns the console's keyboard instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the console's debugger instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync CMachineDebugger& debugger() { return m_debugger; }
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Returns the machine name. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync const QString& machineName() const { return m_strMachineName; }
4429cc47d1e3ca88d6237e5ee7a876dc409cdc24vboxsync UIActionPool* actionPool() const { return m_pActionPool; }
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync KMachineState machineStatePrevious() const { return m_machineStatePrevious; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync KMachineState machineState() const { return m_machineState; }
cd2563833557c14e1739f8e10c4922061708caf1vboxsync /** @name Branding stuff.
cd2563833557c14e1739f8e10c4922061708caf1vboxsync /** Returns redefined machine-window icon. */
cd2563833557c14e1739f8e10c4922061708caf1vboxsync QIcon* machineWindowIcon() const { return m_pMachineWindowIcon; }
a57db78fdd56b8e90281836fad06e1e2558fcc84vboxsync /** Returns redefined machine-window name postfix. */
a57db78fdd56b8e90281836fad06e1e2558fcc84vboxsync QString machineWindowNamePostfix() const { return m_strMachineWindowNamePostfix; }
cd2563833557c14e1739f8e10c4922061708caf1vboxsync#endif /* !Q_WS_MAC */
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync /** @name Runtime workflow stuff.
3b007bf7a77d6ea5ae6cb9780d7efb9ee9716afdvboxsync /** Returns the mouse-capture policy. */
3b007bf7a77d6ea5ae6cb9780d7efb9ee9716afdvboxsync MouseCapturePolicy mouseCapturePolicy() const { return m_mouseCapturePolicy; }
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync /** Returns Guru Meditation handler type. */
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync GuruMeditationHandlerType guruMeditationHandlerType() const { return m_guruMeditationHandlerType; }
8784d2c9b1eb384e4aefb5e344cf9191513f5dfcvboxsync /** Returns HiDPI optimization type. */
8784d2c9b1eb384e4aefb5e344cf9191513f5dfcvboxsync HiDPIOptimizationType hiDPIOptimizationType() const { return m_hiDPIOptimizationType; }
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** @name Host-screen configuration variables.
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** Returns the list of host-screen geometries we currently have. */
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync QList<QRect> hostScreens() const { return m_hostScreens; }
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** @name Application Close configuration stuff.
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** Returns default close action. */
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync MachineCloseAction defaultCloseAction() const { return m_defaultCloseAction; }
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** Returns merged restricted close actions. */
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync MachineCloseAction restrictedCloseActions() const { return m_restrictedCloseActions; }
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync /** Returns whether all the close actions are restricted. */
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync bool isAllCloseActionsRestricted() const { return m_fAllCloseActionsRestricted; }
9d6c3336398c7860511230d5f62d7bcc9dc51bb1vboxsync /** Returns whether visual @a state is allowed. */
9d6c3336398c7860511230d5f62d7bcc9dc51bb1vboxsync bool isVisualStateAllowed(UIVisualStateType state) const;
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync /** Requests visual-state change. */
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync void changeVisualState(UIVisualStateType visualStateType);
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync /** Requests visual-state to be entered when possible. */
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync void setRequestedVisualState(UIVisualStateType visualStateType) { m_requestedVisualStateType = visualStateType; }
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync /** Returns requested visual-state to be entered when possible. */
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync UIVisualStateType requestedVisualState() const { return m_requestedVisualStateType; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isSaved() const { return machineState() == KMachineState_Saved; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isTurnedOff() const { return machineState() == KMachineState_PoweredOff ||
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isPaused() const { return machineState() == KMachineState_Paused ||
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync machineState() == KMachineState_TeleportingPausedVM; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isRunning() const { return machineState() == KMachineState_Running ||
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync machineState() == KMachineState_LiveSnapshotting; }
8a85d6fc8b2f19b9a9b64b2bcbd4f56033edb1b9vboxsync bool isStuck() const { return machineState() == KMachineState_Stuck; }
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync bool wasPaused() const { return machineStatePrevious() == KMachineState_Paused ||
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync machineStatePrevious() == KMachineState_TeleportingPausedVM; }
41f3b95f660b0c77f5f7cc296ec9d83158c522f9vboxsync bool isInitialized() const { return m_fInitialized; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isFirstTimeStarted() const { return m_fIsFirstTimeStarted; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isGuestResizeIgnored() const { return m_fIsGuestResizeIgnored; }
6361862f262bb5f90ed82f2a6e926c35bfa9cf18vboxsync bool isAutoCaptureDisabled() const { return m_fIsAutoCaptureDisabled; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Guest additions state getters: */
4b53e5286eda0299ecb7dbc098ae067ace7e8e20vboxsync bool isGuestAdditionsActive() const { return (m_ulGuestAdditionsRunLevel > KAdditionsRunLevelType_None); }
0a2cd044b0d76309f5ff2c89b30c9e2d3a724838vboxsync bool isGuestSupportsGraphics() const { return m_fIsGuestSupportsGraphics; }
0a2cd044b0d76309f5ff2c89b30c9e2d3a724838vboxsync /* The double check below is correct, even though it is an implementation
0a2cd044b0d76309f5ff2c89b30c9e2d3a724838vboxsync * detail of the Additions which the GUI should not ideally have to know. */
e99106e1706f8e87456f34b22c40becae61e1ed0vboxsync bool isGuestSupportsSeamless() const { return isGuestSupportsGraphics() && m_fIsGuestSupportsSeamless; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Keyboard getters: */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Returns keyboard-state. */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync int keyboardState() const { return m_iKeyboardState; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isScrollLock() const { return m_fScrollLock; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync uint numLockAdaptionCnt() const { return m_uNumLockAdaptionCnt; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync uint capsLockAdaptionCnt() const { return m_uCapsLockAdaptionCnt; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Mouse getters: */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Returns mouse-state. */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isMouseSupportsAbsolute() const { return m_fIsMouseSupportsAbsolute; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isMouseSupportsRelative() const { return m_fIsMouseSupportsRelative; }
1e55c91541549682278f13c784f4ecc57bd9a2b3vboxsync bool isMouseSupportsMultiTouch() const { return m_fIsMouseSupportsMultiTouch; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isMouseHostCursorNeeded() const { return m_fIsMouseHostCursorNeeded; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isMouseCaptured() const { return m_fIsMouseCaptured; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync bool isMouseIntegrated() const { return m_fIsMouseIntegrated; }
08640b1dc58f26140fca6525ced3dbdef4ce45f7vboxsync bool isValidPointerShapePresent() const { return m_fIsValidPointerShapePresent; }
770da3dbb247278c98d1b21d2e11a0a7769131a4vboxsync bool isHidingHostPointer() const { return m_fIsHidingHostPointer; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Common setters: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync void setGuestResizeIgnored(bool fIsGuestResizeIgnored) { m_fIsGuestResizeIgnored = fIsGuestResizeIgnored; }
6361862f262bb5f90ed82f2a6e926c35bfa9cf18vboxsync void setAutoCaptureDisabled(bool fIsAutoCaptureDisabled) { m_fIsAutoCaptureDisabled = fIsAutoCaptureDisabled; }
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync void forgetPreviousMachineState() { m_machineStatePrevious = m_machineState; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Keyboard setters: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync void setNumLockAdaptionCnt(uint uNumLockAdaptionCnt) { m_uNumLockAdaptionCnt = uNumLockAdaptionCnt; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync void setCapsLockAdaptionCnt(uint uCapsLockAdaptionCnt) { m_uCapsLockAdaptionCnt = uCapsLockAdaptionCnt; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Mouse setters: */
4bc74a1db929517da626b12e61cc468fa0947927vboxsync void setMouseCaptured(bool fIsMouseCaptured) { m_fIsMouseCaptured = fIsMouseCaptured; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync void setMouseIntegrated(bool fIsMouseIntegrated) { m_fIsMouseIntegrated = fIsMouseIntegrated; }
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync /* Screen visibility status: */
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync void setScreenVisible(ulong uScreenId, bool fIsMonitorVisible);
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync /* Returns existing framebuffer for the given screen-number;
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync * Returns 0 (asserts) if screen-number attribute is out of bounds: */
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync /* Sets framebuffer for the given screen-number;
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync * Ignores (asserts) if screen-number attribute is out of bounds: */
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync void setFrameBuffer(ulong uScreenId, UIFrameBuffer* pFrameBuffer);
eb7f47bd676ea2b487dc12336f06f8f3710e5075vboxsync /** Returns existing frame-buffer vector. */
d444b8f228f8dd91e74dc009c049dbc5f3281031vboxsync const QVector<UIFrameBuffer*>& frameBuffers() const { return m_frameBufferVector; }
549c0aa09060a33dd7b4dea4433d5d426fcb135evboxsync /** Updates VRDE Server action state. */
549c0aa09060a33dd7b4dea4433d5d426fcb135evboxsync /** Updates Video Capture action state. */
847a4da13640ce406e7ef5178ce40e5507b9aa1fvboxsync void updateStatusVideoCapture() { sltVideoCaptureChange(); }
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync /* Notifier: Close Runtime UI stuff: */
eb7f47bd676ea2b487dc12336f06f8f3710e5075vboxsync /** Notifies about frame-buffer resize. */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Console callback signals: */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Notifies listeners about keyboard state-change. */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Notifies listeners about mouse state-change. */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigNetworkAdapterChange(const CNetworkAdapter &networkAdapter);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigMediumChange(const CMediumAttachment &mediumAttachment);
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync void sigUSBDeviceStateChange(const CUSBDevice &device, bool bIsAttached, const CVirtualBoxErrorInfo &error);
374979da4e9440f386798bce28aa9165f3fb5e3avboxsync void sigRuntimeError(bool bIsFatal, const QString &strErrorId, const QString &strMessage);
303ea6bb23384a122bac365c48db3dc4971cf9b1vboxsync#endif /* RT_OS_DARWIN */
19a29c5b8ea65c618ae3825b6cf84bc3688a36b0vboxsync void sigGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo);
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Notifies about host-screen count change. */
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Notifies about host-screen geometry change. */
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Notifies about host-screen available-area change. */
24ecfcc82c2eecb44373198021e69229e1c66490vboxsync /* Session signals: */
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsync void sltInstallGuestAdditionsFrom(const QString &strSource);
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Defines @a iKeyboardState. */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync void setKeyboardState(int iKeyboardState) { m_iKeyboardState = iKeyboardState; emit sigKeyboardStateChange(m_iKeyboardState); }
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Defines @a iMouseState. */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync void setMouseState(int iMouseState) { m_iMouseState = iMouseState; emit sigMouseStateChange(m_iMouseState); }
576607a1a725edfddbe9ffc531bc6ee775a6d2cbvboxsync /** Marks machine started. */
41f3b95f660b0c77f5f7cc296ec9d83158c522f9vboxsync void sltMarkInitialized() { m_fInitialized = true; }
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync /* Handler: Close Runtime UI stuff: */
383d0fadab48f49dafbf602e05e8348724486a04vboxsync /** Mac OS X: Handles menu-bar configuration-change. */
fb84639c1f4fd5c78a79e35c19514d893cb54d8fvboxsync void sltHandleMenuBarConfigurationChange(const QString &strMachineID);
383d0fadab48f49dafbf602e05e8348724486a04vboxsync#endif /* RT_OS_DARWIN */
346af0930020342df40a1ca8d13eb185ad48067evboxsync /* Console events slots */
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sltMousePointerShapeChange(bool fVisible, bool fAlpha, QPoint hotCorner, QSize size, QVector<uint8_t> shape);
1e55c91541549682278f13c784f4ecc57bd9a2b3vboxsync void sltMouseCapabilityChange(bool fSupportsAbsolute, bool fSupportsRelative, bool fSupportsMultiTouch, bool fNeedsHostCursor);
346af0930020342df40a1ca8d13eb185ad48067evboxsync void sltKeyboardLedsChangeEvent(bool fNumLock, bool fCapsLock, bool fScrollLock);
e44aaa77f3bdded3846f3831452bf1a2a69cd4c0vboxsync void sltGuestMonitorChange(KGuestMonitorChangedEventType changeType, ulong uScreenId, QRect screenGeo);
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync /* Handlers: Display reconfiguration stuff: */
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync#endif /* RT_OS_DARWIN */
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Handles host-screen count change. */
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Handles host-screen geometry change. */
f357d92e6a0d09e1d7be73372b322b75da6b3496vboxsync /** Handles host-screen available-area change. */
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync /** Constructor. */
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync /** Destructor. */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Private getters: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync UIMachine* uimachine() const { return m_pMachine; }
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Prepare helpers: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Cleanup helpers: */
16ac7a7560ee6ba89cf330dd2a45436e58f099c8vboxsync //void cleanupScreens() {}
383d0fadab48f49dafbf602e05e8348724486a04vboxsync /** Mac OS X: Updates menu-bar content. */
383d0fadab48f49dafbf602e05e8348724486a04vboxsync#endif /* Q_WS_MAC */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Common helpers: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync void setPointerShape(const uchar *pShapeData, bool fHasAlpha, uint uXHot, uint uYHot, uint uWidth, uint uHeight);
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** Update host-screen data. */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Private variables: */
68436b7f7bc35d8d020343b68ff117c3decdeacdvboxsync /** Holds the session instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the session's machine instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the session's console instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the console's display instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the console's guest instance. */
7a0d82615ea8dce4fc6c090fff7a24dcc621f7a8vboxsync /** Holds the console's mouse instance. */
7a0d82615ea8dce4fc6c090fff7a24dcc621f7a8vboxsync /** Holds the console's keyboard instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the console's debugger instance. */
312d51eaa6198f716bbfc75767283412bab999d7vboxsync /** Holds the machine name. */
4429cc47d1e3ca88d6237e5ee7a876dc409cdc24vboxsync /** Holds the action-pool instance. */
236f71c54929e835b07c91ace8d7009beb6bf4bdvboxsync /** Holds the menu-bar instance. */
236f71c54929e835b07c91ace8d7009beb6bf4bdvboxsync#endif /* Q_WS_MAC */
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync /* Screen visibility vector: */
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync /* Frame-buffers vector: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Common variables: */
cd2563833557c14e1739f8e10c4922061708caf1vboxsync /** @name Branding variables.
cd2563833557c14e1739f8e10c4922061708caf1vboxsync /** Holds redefined machine-window icon. */
a57db78fdd56b8e90281836fad06e1e2558fcc84vboxsync /** Holds redefined machine-window name postfix. */
cd2563833557c14e1739f8e10c4922061708caf1vboxsync#endif /* !Q_WS_MAC */
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync /** @name Runtime workflow variables.
3b007bf7a77d6ea5ae6cb9780d7efb9ee9716afdvboxsync /** Holds the mouse-capture policy. */
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync /** Holds Guru Meditation handler type. */
b429482aa9ee615942c70e9beedbe171471e48b3vboxsync GuruMeditationHandlerType m_guruMeditationHandlerType;
8784d2c9b1eb384e4aefb5e344cf9191513f5dfcvboxsync /** Holds HiDPI optimization type. */
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync /** @name Visual-state configuration variables.
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync /** Determines which visual-state should be entered when possible. */
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** @name Host-screen configuration variables.
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** Holds the list of host-screen geometries we currently have. */
123cf63fa2d7b42aeea7da2605e3a4971a722dadvboxsync /** Mac OS X: Watchdog timer looking for display reconfiguration. */
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync#endif /* Q_WS_MAC */
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** @name Application Close configuration variables.
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** Default close action. */
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync /** Merged restricted close actions. */
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync /** Determines whether all the close actions are restricted. */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Common flags: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Guest additions flags: */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Keyboard flags: */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Holds the keyboard-state. */
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync /* Mouse flags: */
9941b61cd5f3457e77050ae4502aae9e4fc7f22fvboxsync /** Holds the mouse-state. */
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync /* Friend classes: */
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync#endif /* !___UISession_h___ */