1 | /* $Id: PlatformARMImpl.h 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VirtualBox COM class implementation - ARM platform settings.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2023-2024 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 MAIN_INCLUDED_PlatformARMImpl_h
|
---|
29 | #define MAIN_INCLUDED_PlatformARMImpl_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #include "PlatformARMWrap.h"
|
---|
35 | #include "PlatformBase.h"
|
---|
36 |
|
---|
37 | class Machine;
|
---|
38 | class Platform;
|
---|
39 |
|
---|
40 | namespace settings
|
---|
41 | {
|
---|
42 | struct PlatformARM;
|
---|
43 | }
|
---|
44 |
|
---|
45 | class ATL_NO_VTABLE PlatformARM
|
---|
46 | : public PlatformARMWrap, public PlatformBase
|
---|
47 | {
|
---|
48 | public:
|
---|
49 |
|
---|
50 | DECLARE_COMMON_CLASS_METHODS(PlatformARM)
|
---|
51 |
|
---|
52 | HRESULT FinalConstruct();
|
---|
53 | void FinalRelease();
|
---|
54 |
|
---|
55 | // public initializer/uninitializer for internal purposes only
|
---|
56 | HRESULT init(Platform *aParent, Machine *aMachine);
|
---|
57 | HRESULT init(Platform *aParent, Machine *aMachine, PlatformARM *aThat);
|
---|
58 | HRESULT initCopy(Platform *aParent, Machine *aMachine, PlatformARM *aThat);
|
---|
59 | void uninit();
|
---|
60 |
|
---|
61 | // public internal methods
|
---|
62 | void i_rollback();
|
---|
63 | void i_commit();
|
---|
64 | void i_copyFrom(PlatformARM *aThat);
|
---|
65 |
|
---|
66 | // public internal methods
|
---|
67 | HRESULT i_loadSettings(const settings::PlatformARM &data);
|
---|
68 | HRESULT i_saveSettings(settings::PlatformARM &data);
|
---|
69 | HRESULT i_applyDefaults(GuestOSType *aOsType);
|
---|
70 | };
|
---|
71 | #endif /* !MAIN_INCLUDED_PlatformARMImpl_h */
|
---|
72 |
|
---|