1 | /* $Id: UIDetailsGenerator.h 98490 2023-02-07 12:11:07Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBox Qt GUI - UIDetailsGenerator declaration.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2012-2023 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
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
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef FEQT_INCLUDED_SRC_globals_UIDetailsGenerator_h
|
---|
29 | #define FEQT_INCLUDED_SRC_globals_UIDetailsGenerator_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /* GUI includes: */
|
---|
35 | #include "UIExtraDataDefs.h"
|
---|
36 | #include "UITextTable.h"
|
---|
37 |
|
---|
38 | /* COM includes: */
|
---|
39 | #include "COMEnums.h"
|
---|
40 |
|
---|
41 | /* Forward declarations: */
|
---|
42 | class CCloudMachine;
|
---|
43 | class CConsole;
|
---|
44 | class CFormValue;
|
---|
45 | class CGuest;
|
---|
46 | class CMachine;
|
---|
47 |
|
---|
48 | /** Details generation namespace. */
|
---|
49 | namespace UIDetailsGenerator
|
---|
50 | {
|
---|
51 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CMachine &comMachine,
|
---|
52 | const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
|
---|
53 |
|
---|
54 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationGeneral(CCloudMachine &comCloudMachine,
|
---|
55 | const UIExtraDataMetaDefs::DetailsElementOptionTypeGeneral &fOptions);
|
---|
56 | SHARED_LIBRARY_STUFF QString generateFormValueInformation(const CFormValue &comFormValue, bool fFull = false);
|
---|
57 |
|
---|
58 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSystem(CMachine &comMachine,
|
---|
59 | const UIExtraDataMetaDefs::DetailsElementOptionTypeSystem &fOptions);
|
---|
60 |
|
---|
61 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDisplay(CMachine &comMachine,
|
---|
62 | const UIExtraDataMetaDefs::DetailsElementOptionTypeDisplay &fOptions);
|
---|
63 |
|
---|
64 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationStorage(CMachine &comMachine,
|
---|
65 | const UIExtraDataMetaDefs::DetailsElementOptionTypeStorage &fOptions,
|
---|
66 | bool fLink = true);
|
---|
67 |
|
---|
68 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationAudio(CMachine &comMachine,
|
---|
69 | const UIExtraDataMetaDefs::DetailsElementOptionTypeAudio &fOptions);
|
---|
70 |
|
---|
71 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationNetwork(CMachine &comMachine,
|
---|
72 | const UIExtraDataMetaDefs::DetailsElementOptionTypeNetwork &fOptions);
|
---|
73 |
|
---|
74 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSerial(CMachine &comMachine,
|
---|
75 | const UIExtraDataMetaDefs::DetailsElementOptionTypeSerial &fOptions);
|
---|
76 |
|
---|
77 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUSB(CMachine &comMachine,
|
---|
78 | const UIExtraDataMetaDefs::DetailsElementOptionTypeUsb &fOptions);
|
---|
79 |
|
---|
80 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationSharedFolders(CMachine &comMachine,
|
---|
81 | const UIExtraDataMetaDefs::DetailsElementOptionTypeSharedFolders &fOptions);
|
---|
82 |
|
---|
83 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationUI(CMachine &comMachine,
|
---|
84 | const UIExtraDataMetaDefs::DetailsElementOptionTypeUserInterface &fOptions);
|
---|
85 |
|
---|
86 | SHARED_LIBRARY_STUFF UITextTable generateMachineInformationDescription(CMachine &comMachine,
|
---|
87 | const UIExtraDataMetaDefs::DetailsElementOptionTypeDescription &fOptions);
|
---|
88 |
|
---|
89 | SHARED_LIBRARY_STUFF void acquireHardDiskStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
90 | bool &fAttachmentsPresent);
|
---|
91 |
|
---|
92 | SHARED_LIBRARY_STUFF void acquireOpticalDiskStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
93 | bool &fAttachmentsPresent, bool &fAttachmentsMounted);
|
---|
94 |
|
---|
95 | SHARED_LIBRARY_STUFF void acquireFloppyDiskStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
96 | bool &fAttachmentsPresent, bool &fAttachmentsMounted);
|
---|
97 |
|
---|
98 | SHARED_LIBRARY_STUFF void acquireAudioStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
99 | bool &fAudioEnabled, bool &fEnabledOutput, bool &fEnabledInput);
|
---|
100 |
|
---|
101 | SHARED_LIBRARY_STUFF void acquireNetworkStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
102 | bool &fAdaptersPresent, bool &fCablesDisconnected);
|
---|
103 |
|
---|
104 | SHARED_LIBRARY_STUFF void acquireUsbStatusInfo(CMachine &comMachine, CConsole &comConsole,
|
---|
105 | QString &strInfo, bool &fUsbEnableds);
|
---|
106 |
|
---|
107 | SHARED_LIBRARY_STUFF void acquireSharedFoldersStatusInfo(CMachine &comMachine, CConsole &comConsole, CGuest &comGuest,
|
---|
108 | QString &strInfo, bool &fFoldersPresent);
|
---|
109 |
|
---|
110 | SHARED_LIBRARY_STUFF void acquireDisplayStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
111 | bool &fAcceleration3D);
|
---|
112 |
|
---|
113 | SHARED_LIBRARY_STUFF void acquireRecordingStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
114 | bool &fRecordingEnabled);
|
---|
115 |
|
---|
116 | SHARED_LIBRARY_STUFF void acquireFeaturesStatusInfo(CMachine &comMachine, QString &strInfo,
|
---|
117 | KVMExecutionEngine &enmEngine,
|
---|
118 | bool fNestedPagingEnabled, bool fUxEnabled,
|
---|
119 | KParavirtProvider enmProvider);
|
---|
120 |
|
---|
121 | /** Holds the table row format 1. */
|
---|
122 | extern const QString e_strTableRow1;
|
---|
123 | /** Holds the table row format 2. */
|
---|
124 | extern const QString e_strTableRow2;
|
---|
125 | /** Holds the table row format 3. */
|
---|
126 | extern const QString e_strTableRow3;
|
---|
127 | }
|
---|
128 |
|
---|
129 | #endif /* !FEQT_INCLUDED_SRC_globals_UIDetailsGenerator_h */
|
---|