VirtualBox

source: vbox/trunk/src/VBox/Main/include/PlatformARMImpl.h

Last change on this file was 101043, checked in by vboxsync, 8 months ago

Initial commit (based draft v2 / on patch v5) for implementing platform architecture support for x86 and ARM: More SCM fixes. bugref:10384

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/* $Id: PlatformARMImpl.h 101043 2023-09-07 10:16:04Z vboxsync $ */
2/** @file
3 * VirtualBox COM class implementation - ARM platform settings.
4 */
5
6/*
7 * Copyright (C) 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 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
37class Machine;
38class Platform;
39
40namespace settings
41{
42 struct PlatformARM;
43}
44
45class ATL_NO_VTABLE PlatformARM
46 : public PlatformARMWrap, public PlatformBase
47{
48public:
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
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use