VirtualBox

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

Last change on this file since 82781 was 76581, checked in by vboxsync, 5 years ago

Fe/QT: scm header guard alignment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1/* $Id: UIMachineDefs.h 76581 2019-01-01 06:24:57Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - Defines for Virtual Machine classes.
4 */
5
6/*
7 * Copyright (C) 2010-2019 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 FEQT_INCLUDED_SRC_runtime_UIMachineDefs_h
19#define FEQT_INCLUDED_SRC_runtime_UIMachineDefs_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Other VBox includes: */
25#include <iprt/cdefs.h>
26
27/** Machine window visual element types. */
28enum UIVisualElement
29{
30 UIVisualElement_WindowTitle = RT_BIT(0),
31 UIVisualElement_MouseIntegrationStuff = RT_BIT(1),
32 UIVisualElement_IndicatorPoolStuff = RT_BIT(2),
33 UIVisualElement_HDStuff = RT_BIT(3),
34 UIVisualElement_CDStuff = RT_BIT(4),
35 UIVisualElement_FDStuff = RT_BIT(5),
36 UIVisualElement_AudioStuff = RT_BIT(6),
37 UIVisualElement_NetworkStuff = RT_BIT(7),
38 UIVisualElement_USBStuff = RT_BIT(8),
39 UIVisualElement_SharedFolderStuff = RT_BIT(9),
40 UIVisualElement_Display = RT_BIT(10),
41 UIVisualElement_Recording = RT_BIT(11),
42 UIVisualElement_FeaturesStuff = RT_BIT(12),
43#ifndef VBOX_WS_MAC
44 UIVisualElement_MiniToolBar = RT_BIT(13),
45#endif
46 UIVisualElement_AllStuff = 0xFFFF
47};
48
49/** Mouse state types. */
50enum UIMouseStateType
51{
52 UIMouseStateType_MouseCaptured = RT_BIT(0),
53 UIMouseStateType_MouseAbsolute = RT_BIT(1),
54 UIMouseStateType_MouseAbsoluteDisabled = RT_BIT(2),
55 UIMouseStateType_MouseNeedsHostCursor = RT_BIT(3)
56};
57
58/** Keyboard state types. */
59enum UIKeyboardStateType
60{
61 UIKeyboardStateType_KeyboardCaptured = RT_BIT(0),
62 UIKeyboardStateType_HostKeyPressed = RT_BIT(1),
63 UIKeyboardStateType_HostKeyPressedInsertion = RT_BIT(2)
64};
65
66#endif /* !FEQT_INCLUDED_SRC_runtime_UIMachineDefs_h */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use