1 | /* $Id: UIMachineDefs.h 68508 2017-08-22 14:42:51Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox Qt GUI - Defines for Virtual Machine classes.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2010-2016 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef __UIMachineDefs_h__
|
---|
19 | #define __UIMachineDefs_h__
|
---|
20 |
|
---|
21 | /* Global includes */
|
---|
22 | #include <iprt/cdefs.h>
|
---|
23 |
|
---|
24 | /* Machine elements enum: */
|
---|
25 | enum UIVisualElement
|
---|
26 | {
|
---|
27 | UIVisualElement_WindowTitle = RT_BIT(0),
|
---|
28 | UIVisualElement_MouseIntegrationStuff = RT_BIT(1),
|
---|
29 | UIVisualElement_IndicatorPoolStuff = RT_BIT(2),
|
---|
30 | UIVisualElement_HDStuff = RT_BIT(3),
|
---|
31 | UIVisualElement_CDStuff = RT_BIT(4),
|
---|
32 | UIVisualElement_FDStuff = RT_BIT(5),
|
---|
33 | UIVisualElement_AudioStuff = RT_BIT(6),
|
---|
34 | UIVisualElement_NetworkStuff = RT_BIT(7),
|
---|
35 | UIVisualElement_USBStuff = RT_BIT(8),
|
---|
36 | UIVisualElement_SharedFolderStuff = RT_BIT(9),
|
---|
37 | UIVisualElement_Display = RT_BIT(10),
|
---|
38 | UIVisualElement_VideoCapture = RT_BIT(11),
|
---|
39 | UIVisualElement_FeaturesStuff = RT_BIT(12),
|
---|
40 | #ifndef VBOX_WS_MAC
|
---|
41 | UIVisualElement_MiniToolBar = RT_BIT(13),
|
---|
42 | #endif /* !VBOX_WS_MAC */
|
---|
43 | UIVisualElement_AllStuff = 0xFFFF
|
---|
44 | };
|
---|
45 |
|
---|
46 | /* Mouse states enum: */
|
---|
47 | enum UIMouseStateType
|
---|
48 | {
|
---|
49 | UIMouseStateType_MouseCaptured = RT_BIT(0),
|
---|
50 | UIMouseStateType_MouseAbsolute = RT_BIT(1),
|
---|
51 | UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
|
---|
52 | UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
|
---|
53 | };
|
---|
54 |
|
---|
55 | /* Machine View states enum: */
|
---|
56 | enum UIViewStateType
|
---|
57 | {
|
---|
58 | UIViewStateType_KeyboardCaptured = RT_BIT(0),
|
---|
59 | UIViewStateType_HostKeyPressed = RT_BIT(1)
|
---|
60 | };
|
---|
61 |
|
---|
62 | #endif // __UIMachineDefs_h__
|
---|
63 |
|
---|