[26637] | 1 | /** @file
|
---|
| 2 | *
|
---|
| 3 | * VBox frontends: Qt GUI ("VirtualBox"):
|
---|
| 4 | * Defines for Virtual Machine classes
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | /*
|
---|
[28800] | 8 | * Copyright (C) 2010 Oracle Corporation
|
---|
[26637] | 9 | *
|
---|
| 10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
| 11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
| 12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
| 13 | * General Public License (GPL) as published by the Free Software
|
---|
| 14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
| 15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
| 16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 19 | #ifndef __UIMachineDefs_h__
|
---|
| 20 | #define __UIMachineDefs_h__
|
---|
| 21 |
|
---|
[26751] | 22 | /* Global includes */
|
---|
| 23 | #include <iprt/cdefs.h>
|
---|
| 24 |
|
---|
[26637] | 25 | /* Machine states enum: */
|
---|
| 26 | enum UIVisualStateType
|
---|
| 27 | {
|
---|
| 28 | UIVisualStateType_Normal,
|
---|
| 29 | UIVisualStateType_Fullscreen,
|
---|
[30753] | 30 | UIVisualStateType_Seamless,
|
---|
| 31 | UIVisualStateType_Scale
|
---|
[26637] | 32 | };
|
---|
| 33 |
|
---|
| 34 | /* Machine elements enum: */
|
---|
| 35 | enum UIVisualElement
|
---|
| 36 | {
|
---|
[26751] | 37 | UIVisualElement_WindowCaption = RT_BIT(0),
|
---|
| 38 | UIVisualElement_MouseIntegrationStuff = RT_BIT(1),
|
---|
| 39 | UIVisualElement_PauseStuff = RT_BIT(2),
|
---|
| 40 | UIVisualElement_HDStuff = RT_BIT(3),
|
---|
| 41 | UIVisualElement_CDStuff = RT_BIT(4),
|
---|
| 42 | UIVisualElement_FDStuff = RT_BIT(5),
|
---|
| 43 | UIVisualElement_NetworkStuff = RT_BIT(6),
|
---|
| 44 | UIVisualElement_USBStuff = RT_BIT(7),
|
---|
| 45 | UIVisualElement_VRDPStuff = RT_BIT(8),
|
---|
| 46 | UIVisualElement_SharedFolderStuff = RT_BIT(9),
|
---|
| 47 | UIVisualElement_VirtualizationStuff = RT_BIT(10),
|
---|
[26637] | 48 | UIVisualElement_AllStuff = 0xFFFF
|
---|
| 49 | };
|
---|
| 50 |
|
---|
| 51 | /* Mouse states enum: */
|
---|
| 52 | enum UIMouseStateType
|
---|
| 53 | {
|
---|
[26751] | 54 | UIMouseStateType_MouseCaptured = RT_BIT(0),
|
---|
| 55 | UIMouseStateType_MouseAbsolute = RT_BIT(1),
|
---|
| 56 | UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
|
---|
| 57 | UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
|
---|
[26637] | 58 | };
|
---|
| 59 |
|
---|
| 60 | /* Machine View states enum: */
|
---|
| 61 | enum UIViewStateType
|
---|
| 62 | {
|
---|
[26751] | 63 | UIViewStateType_KeyboardCaptured = RT_BIT(0),
|
---|
| 64 | UIViewStateType_HostKeyPressed = RT_BIT(1)
|
---|
[26637] | 65 | };
|
---|
| 66 |
|
---|
[27335] | 67 | /* Main menu enum: */
|
---|
| 68 | enum UIMainMenuType
|
---|
| 69 | {
|
---|
| 70 | UIMainMenuType_Machine = RT_BIT(0),
|
---|
| 71 | UIMainMenuType_Devices = RT_BIT(1),
|
---|
| 72 | UIMainMenuType_View = RT_BIT(2),
|
---|
| 73 | UIMainMenuType_Debug = RT_BIT(3),
|
---|
| 74 | UIMainMenuType_Help = RT_BIT(4),
|
---|
| 75 | UIMainMenuType_All = 0xFF
|
---|
| 76 | };
|
---|
| 77 |
|
---|
[26637] | 78 | #endif // __UIMachineDefs_h__
|
---|
[26709] | 79 |
|
---|