1 | /** @file
|
---|
2 | *
|
---|
3 | * VBox frontends: Qt GUI ("VirtualBox"):
|
---|
4 | * Defines for Virtual Machine classes
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2010 Sun Microsystems, Inc.
|
---|
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 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
19 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
20 | * additional information or have any questions.
|
---|
21 | */
|
---|
22 |
|
---|
23 | #ifndef __UIMachineDefs_h__
|
---|
24 | #define __UIMachineDefs_h__
|
---|
25 |
|
---|
26 | /* Global includes */
|
---|
27 | #include <iprt/cdefs.h>
|
---|
28 |
|
---|
29 | /* Machine states enum: */
|
---|
30 | enum UIVisualStateType
|
---|
31 | {
|
---|
32 | UIVisualStateType_Normal,
|
---|
33 | UIVisualStateType_Fullscreen,
|
---|
34 | UIVisualStateType_Seamless
|
---|
35 | };
|
---|
36 |
|
---|
37 | /* Machine elements enum: */
|
---|
38 | enum UIVisualElement
|
---|
39 | {
|
---|
40 | UIVisualElement_WindowCaption = RT_BIT(0),
|
---|
41 | UIVisualElement_MouseIntegrationStuff = RT_BIT(1),
|
---|
42 | UIVisualElement_PauseStuff = RT_BIT(2),
|
---|
43 | UIVisualElement_HDStuff = RT_BIT(3),
|
---|
44 | UIVisualElement_CDStuff = RT_BIT(4),
|
---|
45 | UIVisualElement_FDStuff = RT_BIT(5),
|
---|
46 | UIVisualElement_NetworkStuff = RT_BIT(6),
|
---|
47 | UIVisualElement_USBStuff = RT_BIT(7),
|
---|
48 | UIVisualElement_VRDPStuff = RT_BIT(8),
|
---|
49 | UIVisualElement_SharedFolderStuff = RT_BIT(9),
|
---|
50 | UIVisualElement_VirtualizationStuff = RT_BIT(10),
|
---|
51 | UIVisualElement_AllStuff = 0xFFFF
|
---|
52 | };
|
---|
53 |
|
---|
54 | /* Mouse states enum: */
|
---|
55 | enum UIMouseStateType
|
---|
56 | {
|
---|
57 | UIMouseStateType_MouseCaptured = RT_BIT(0),
|
---|
58 | UIMouseStateType_MouseAbsolute = RT_BIT(1),
|
---|
59 | UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
|
---|
60 | UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
|
---|
61 | };
|
---|
62 |
|
---|
63 | /* Machine View states enum: */
|
---|
64 | enum UIViewStateType
|
---|
65 | {
|
---|
66 | UIViewStateType_KeyboardCaptured = RT_BIT(0),
|
---|
67 | UIViewStateType_HostKeyPressed = RT_BIT(1)
|
---|
68 | };
|
---|
69 |
|
---|
70 | #endif // __UIMachineDefs_h__
|
---|
71 |
|
---|