Changeset 96670 in vbox
- Timestamp:
- Sep 9, 2022 12:40:38 PM (2 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r96407 r96670 12395 12395 name="ISystemProperties" 12396 12396 extends="$unknown" 12397 uuid=" 068decf8-335d-4ec5-8265-ccfd910c4f9d"12397 uuid="aac6c7cb-a371-4c58-ab51-0616896b2f2c" 12398 12398 wsmap="managed" 12399 12399 rest="managed" … … 12954 12954 <desc> 12955 12955 Returns an array of officially supported values for enum <link to="IommuType"/>, 12956 in the sense of what is e.g. worth offering in the VirtualBox GUI. 12957 </desc> 12958 </attribute> 12959 12960 <attribute name="supportedTpmTypes" type="TpmType" safearray="yes" readonly="yes"> 12961 <desc> 12962 Returns an array of officially supported values for enum <link to="TpmType"/>, 12956 12963 in the sense of what is e.g. worth offering in the VirtualBox GUI. 12957 12964 </desc> -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r96407 r96670 157 157 HRESULT getSupportedChipsetTypes(std::vector<ChipsetType_T> &aSupportedChipsetTypes) RT_OVERRIDE; 158 158 HRESULT getSupportedIommuTypes(std::vector<IommuType_T> &aSupportedIommuTypes) RT_OVERRIDE; 159 HRESULT getSupportedTpmTypes(std::vector<TpmType_T> &aSupportedTpmTypes) RT_OVERRIDE; 159 160 HRESULT getLanguageId(com::Utf8Str &aLanguageId) RT_OVERRIDE; 160 161 HRESULT setLanguageId(const com::Utf8Str &aLanguageId) RT_OVERRIDE; -
trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
r96407 r96670 1957 1957 } 1958 1958 1959 HRESULT SystemProperties::getSupportedTpmTypes(std::vector<TpmType_T> &aSupportedTpmTypes) 1960 { 1961 static const TpmType_T aTpmTypes[] = 1962 { 1963 TpmType_None, 1964 TpmType_v1_2, 1965 TpmType_v2_0 1966 }; 1967 aSupportedTpmTypes.assign(aTpmTypes, 1968 aTpmTypes + RT_ELEMENTS(aTpmTypes)); 1969 return S_OK; 1970 } 1971 1959 1972 1960 1973 // public methods only for internal purposes
Note:
See TracChangeset
for help on using the changeset viewer.