[55401] | 1 | /* $Id: UIDefs.h 103551 2024-02-23 16:09:47Z vboxsync $ */
|
---|
[41695] | 2 | /** @file
|
---|
[51187] | 3 | * VBox Qt GUI - Global definitions.
|
---|
[41695] | 4 | */
|
---|
[25177] | 5 |
|
---|
[41695] | 6 | /*
|
---|
[98103] | 7 | * Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[41695] | 8 | *
|
---|
[96407] | 9 | * This file is part of VirtualBox base platform packages, as
|
---|
| 10 | * available from https://www.virtualbox.org.
|
---|
| 11 | *
|
---|
| 12 | * This program is free software; you can redistribute it and/or
|
---|
| 13 | * modify it under the terms of the GNU General Public License
|
---|
| 14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
| 15 | * License.
|
---|
| 16 | *
|
---|
| 17 | * This program is distributed in the hope that it will be useful, but
|
---|
| 18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 20 | * General Public License for more details.
|
---|
| 21 | *
|
---|
| 22 | * You should have received a copy of the GNU General Public License
|
---|
| 23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 24 | *
|
---|
| 25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
[41695] | 26 | */
|
---|
[25177] | 27 |
|
---|
[76581] | 28 | #ifndef FEQT_INCLUDED_SRC_globals_UIDefs_h
|
---|
| 29 | #define FEQT_INCLUDED_SRC_globals_UIDefs_h
|
---|
[76532] | 30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 31 | # pragma once
|
---|
| 32 | #endif
|
---|
[25177] | 33 |
|
---|
[41695] | 34 | /* Qt includes: */
|
---|
[41689] | 35 | #include <QStringList>
|
---|
[25177] | 36 |
|
---|
[71630] | 37 | /* GUI includes: */
|
---|
| 38 | #include "UILibraryDefs.h"
|
---|
| 39 |
|
---|
[25177] | 40 |
|
---|
[51187] | 41 | /** Global namespace. */
|
---|
[41689] | 42 | namespace UIDefs
|
---|
[38575] | 43 | {
|
---|
[71428] | 44 | /** Default guest additions image name. */
|
---|
[71630] | 45 | SHARED_LIBRARY_STUFF extern const char* GUI_GuestAdditionsName;
|
---|
[71428] | 46 | /** Default extension pack name. */
|
---|
[71630] | 47 | SHARED_LIBRARY_STUFF extern const char* GUI_ExtPackName;
|
---|
[51189] | 48 |
|
---|
[71428] | 49 | /** Allowed VBox file extensions. */
|
---|
[71630] | 50 | SHARED_LIBRARY_STUFF extern QStringList VBoxFileExts;
|
---|
[71428] | 51 | /** Allowed VBox Extension Pack file extensions. */
|
---|
[71630] | 52 | SHARED_LIBRARY_STUFF extern QStringList VBoxExtPackFileExts;
|
---|
[71428] | 53 | /** Allowed OVF file extensions. */
|
---|
[71630] | 54 | SHARED_LIBRARY_STUFF extern QStringList OVFFileExts;
|
---|
[41689] | 55 | }
|
---|
[51187] | 56 | using namespace UIDefs /* if header included */;
|
---|
[25177] | 57 |
|
---|
[71428] | 58 |
|
---|
[102503] | 59 | #ifdef VBOX_WS_MAC
|
---|
| 60 | /** Known macOS releases. */
|
---|
| 61 | enum MacOSXRelease
|
---|
| 62 | {
|
---|
| 63 | MacOSXRelease_Old,
|
---|
| 64 | MacOSXRelease_FirstUnknown = 9,
|
---|
| 65 | MacOSXRelease_SnowLeopard = 10,
|
---|
| 66 | MacOSXRelease_Lion = 11,
|
---|
| 67 | MacOSXRelease_MountainLion = 12,
|
---|
| 68 | MacOSXRelease_Mavericks = 13,
|
---|
| 69 | MacOSXRelease_Yosemite = 14,
|
---|
| 70 | MacOSXRelease_ElCapitan = 15,
|
---|
| 71 | MacOSXRelease_Sierra = 16,
|
---|
| 72 | MacOSXRelease_HighSierra = 17,
|
---|
| 73 | MacOSXRelease_Mojave = 18,
|
---|
| 74 | MacOSXRelease_Catalina = 19,
|
---|
| 75 | MacOSXRelease_BigSur = 20,
|
---|
| 76 | MacOSXRelease_Monterey = 21,
|
---|
| 77 | MacOSXRelease_Ventura = 22,
|
---|
| 78 | MacOSXRelease_Sonoma = 23,
|
---|
| 79 | MacOSXRelease_LastUnknown = 24,
|
---|
| 80 | MacOSXRelease_New,
|
---|
| 81 | };
|
---|
| 82 | #endif /* VBOX_WS_MAC */
|
---|
| 83 |
|
---|
| 84 |
|
---|
[103551] | 85 | /** UI types. */
|
---|
| 86 | enum UIType
|
---|
| 87 | {
|
---|
| 88 | UIType_ManagerUI,
|
---|
| 89 | UIType_RuntimeUI
|
---|
| 90 | };
|
---|
| 91 |
|
---|
| 92 |
|
---|
[98335] | 93 | /** VM launch modes. */
|
---|
| 94 | enum UILaunchMode
|
---|
| 95 | {
|
---|
| 96 | UILaunchMode_Invalid,
|
---|
| 97 | UILaunchMode_Default,
|
---|
| 98 | UILaunchMode_Headless,
|
---|
| 99 | UILaunchMode_Separate
|
---|
| 100 | };
|
---|
| 101 |
|
---|
| 102 |
|
---|
[76581] | 103 | #endif /* !FEQT_INCLUDED_SRC_globals_UIDefs_h */
|
---|