Changeset 101038 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Sep 7, 2023 9:21:54 AM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158995
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/FirmwareSettingsImpl.h
r101037 r101038 3 3 /** @file 4 4 * 5 * VirtualBox COM class implementation - Machine BIOSsettings.5 * VirtualBox COM class implementation - Machine firmware settings. 6 6 */ 7 7 … … 28 28 */ 29 29 30 #ifndef MAIN_INCLUDED_ BIOSSettingsImpl_h31 #define MAIN_INCLUDED_ BIOSSettingsImpl_h30 #ifndef MAIN_INCLUDED_FirmwareSettingsImpl_h 31 #define MAIN_INCLUDED_FirmwareSettingsImpl_h 32 32 #ifndef RT_WITHOUT_PRAGMA_ONCE 33 33 # pragma once 34 34 #endif 35 35 36 #include " BIOSSettingsWrap.h"36 #include "FirmwareSettingsWrap.h" 37 37 38 38 class GuestOSType; … … 40 40 namespace settings 41 41 { 42 struct BIOSSettings;42 struct FirmwareSettings; 43 43 } 44 44 45 class ATL_NO_VTABLE BIOSSettings :46 public BIOSSettingsWrap45 class ATL_NO_VTABLE FirmwareSettings : 46 public FirmwareSettingsWrap 47 47 { 48 48 public: 49 49 50 DECLARE_COMMON_CLASS_METHODS( BIOSSettings)50 DECLARE_COMMON_CLASS_METHODS(FirmwareSettings) 51 51 52 52 HRESULT FinalConstruct(); … … 55 55 // public initializer/uninitializer for internal purposes only 56 56 HRESULT init(Machine *parent); 57 HRESULT init(Machine *parent, BIOSSettings *that);58 HRESULT initCopy(Machine *parent, BIOSSettings *that);57 HRESULT init(Machine *parent, FirmwareSettings *that); 58 HRESULT initCopy(Machine *parent, FirmwareSettings *that); 59 59 void uninit(); 60 60 61 61 // public methods for internal purposes only 62 HRESULT i_loadSettings(const settings::BIOSSettings &data); 63 HRESULT i_saveSettings(settings::BIOSSettings &data); 62 HRESULT i_loadSettings(const settings::FirmwareSettings &data); 63 HRESULT i_saveSettings(settings::FirmwareSettings &data); 64 FirmwareType_T i_getFirmwareType() const; 64 65 65 66 void i_rollback(); 66 67 void i_commit(); 67 void i_copyFrom( BIOSSettings *aThat);68 void i_copyFrom(FirmwareSettings *aThat); 68 69 void i_applyDefaults(GuestOSType *aOsType); 69 70 70 71 private: 71 72 72 // wrapped IBIOSettings properties 73 // wrapped IFirmwareSettings properties 74 HRESULT getFirmwareType(FirmwareType_T *aType); 75 HRESULT setFirmwareType(FirmwareType_T aType); 73 76 HRESULT getLogoFadeIn(BOOL *enabled); 74 77 HRESULT setLogoFadeIn(BOOL enable); … … 79 82 HRESULT getLogoImagePath(com::Utf8Str &imagePath); 80 83 HRESULT setLogoImagePath(const com::Utf8Str &imagePath); 81 HRESULT getBootMenuMode( BIOSBootMenuMode_T *bootMenuMode);82 HRESULT setBootMenuMode( BIOSBootMenuMode_T bootMenuMode);84 HRESULT getBootMenuMode(FirmwareBootMenuMode_T *bootMenuMode); 85 HRESULT setBootMenuMode(FirmwareBootMenuMode_T bootMenuMode); 83 86 HRESULT getACPIEnabled(BOOL *enabled); 84 87 HRESULT setACPIEnabled(BOOL enable); … … 97 100 Data *m; 98 101 }; 102 #endif /* !MAIN_INCLUDED_FirmwareSettingsImpl_h */ 99 103 100 #endif /* !MAIN_INCLUDED_BIOSSettingsImpl_h */101 102 /* vi: set tabstop=4 shiftwidth=4 expandtab: */
Note:
See TracChangeset
for help on using the changeset viewer.