From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/edk2/MdeModulePkg/Application/UiApp/String.h | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 roms/edk2/MdeModulePkg/Application/UiApp/String.h (limited to 'roms/edk2/MdeModulePkg/Application/UiApp/String.h') diff --git a/roms/edk2/MdeModulePkg/Application/UiApp/String.h b/roms/edk2/MdeModulePkg/Application/UiApp/String.h new file mode 100644 index 000000000..3dc4c3316 --- /dev/null +++ b/roms/edk2/MdeModulePkg/Application/UiApp/String.h @@ -0,0 +1,71 @@ +/** @file + String support + +Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef _STRING_H_ +#define _STRING_H_ + +extern EFI_HII_HANDLE gStringPackHandle; + +// +// This is the VFR compiler generated header file which defines the +// string identifiers. +// + +extern UINT8 BdsDxeStrings[]; + +// +// String Definition Guid for BDS Platform +// +#define EFI_BDS_PLATFORM_GUID \ + { \ + 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \ + } + +/** + Get string by string id from HII Interface + + + @param Id String ID. + + @retval CHAR16 * String from ID. + @retval NULL If error occurs. + +**/ +CHAR16 * +GetStringById ( + IN EFI_STRING_ID Id + ); + +/** + Initialize HII global accessor for string support. + +**/ +VOID +InitializeStringSupport ( + VOID + ); + +/** + Remove the string package. + +**/ +VOID +UninitializeStringSupport ( + VOID + ); + +/** + Routine to export glyphs to the HII database. This is in addition to whatever is defined in the Graphics Console driver. + +**/ +EFI_HII_HANDLE +ExportFonts ( + VOID + ); + +#endif // _STRING_H_ -- cgit