VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineDefs.h@ 44528

Last change on this file since 44528 was 44528, checked in by vboxsync, 12 years ago

header (C) fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 2.4 KB
Line 
1/** @file
2 *
3 * VBox frontends: Qt GUI ("VirtualBox"):
4 * Defines for Virtual Machine classes
5 */
6
7/*
8 * Copyright (C) 2012 Oracle Corporation
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
22/* Global includes */
23#include <iprt/cdefs.h>
24
25/* Machine states enum: */
26enum UIVisualStateType
27{
28 UIVisualStateType_Normal,
29 UIVisualStateType_Fullscreen,
30 UIVisualStateType_Seamless,
31 UIVisualStateType_Scale
32};
33
34/* Machine elements enum: */
35enum UIVisualElement
36{
37 UIVisualElement_WindowTitle = 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),
48 UIVisualElement_MiniToolBar = RT_BIT(11),
49 UIVisualElement_AllStuff = 0xFFFF
50};
51
52/* Mouse states enum: */
53enum UIMouseStateType
54{
55 UIMouseStateType_MouseCaptured = RT_BIT(0),
56 UIMouseStateType_MouseAbsolute = RT_BIT(1),
57 UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
58 UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
59};
60
61/* Machine View states enum: */
62enum UIViewStateType
63{
64 UIViewStateType_KeyboardCaptured = RT_BIT(0),
65 UIViewStateType_HostKeyPressed = RT_BIT(1)
66};
67
68/* Main menu enum: */
69enum UIMainMenuType
70{
71 UIMainMenuType_Machine = RT_BIT(0),
72 UIMainMenuType_Devices = RT_BIT(1),
73 UIMainMenuType_View = RT_BIT(2),
74 UIMainMenuType_Debug = RT_BIT(3),
75 UIMainMenuType_Help = RT_BIT(4),
76 UIMainMenuType_All = 0xFF
77};
78
79#endif // __UIMachineDefs_h__
80
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette