/** @file * * VBox frontends: Qt GUI ("VirtualBox"): * Defines for Virtual Machine classes */ /* * Copyright (C) 2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * 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 __UIMachineDefs_h__ #define __UIMachineDefs_h__ /* Global includes */ #include /* Machine states enum: */ enum UIVisualStateType { UIVisualStateType_Normal, UIVisualStateType_Fullscreen, UIVisualStateType_Seamless, UIVisualStateType_Scale }; /* Machine elements enum: */ enum UIVisualElement { UIVisualElement_WindowCaption = RT_BIT(0), UIVisualElement_MouseIntegrationStuff = RT_BIT(1), UIVisualElement_PauseStuff = RT_BIT(2), UIVisualElement_HDStuff = RT_BIT(3), UIVisualElement_CDStuff = RT_BIT(4), UIVisualElement_FDStuff = RT_BIT(5), UIVisualElement_NetworkStuff = RT_BIT(6), UIVisualElement_USBStuff = RT_BIT(7), UIVisualElement_VRDPStuff = RT_BIT(8), UIVisualElement_SharedFolderStuff = RT_BIT(9), UIVisualElement_VirtualizationStuff = RT_BIT(10), UIVisualElement_AllStuff = 0xFFFF }; /* Mouse states enum: */ enum UIMouseStateType { UIMouseStateType_MouseCaptured = RT_BIT(0), UIMouseStateType_MouseAbsolute = RT_BIT(1), UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2), UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3) }; /* Machine View states enum: */ enum UIViewStateType { UIViewStateType_KeyboardCaptured = RT_BIT(0), UIViewStateType_HostKeyPressed = RT_BIT(1) }; /* Main menu enum: */ enum UIMainMenuType { UIMainMenuType_Machine = RT_BIT(0), UIMainMenuType_Devices = RT_BIT(1), UIMainMenuType_View = RT_BIT(2), UIMainMenuType_Debug = RT_BIT(3), UIMainMenuType_Help = RT_BIT(4), UIMainMenuType_All = 0xFF }; #endif // __UIMachineDefs_h__