]>
Commit | Line | Data |
---|---|---|
143f0b1d ED |
1 | /** @file\r |
2 | String support\r | |
3 | \r | |
afc244a5 | 4 | Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r |
143f0b1d ED |
5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _STRING_H_\r | |
16 | #define _STRING_H_\r | |
17 | \r | |
18 | extern EFI_HII_HANDLE gStringPackHandle;\r | |
19 | \r | |
20 | //\r | |
21 | // This is the VFR compiler generated header file which defines the\r | |
22 | // string identifiers.\r | |
23 | //\r | |
24 | \r | |
25 | extern UINT8 BdsDxeStrings[];\r | |
26 | \r | |
27 | //\r | |
28 | // String Definition Guid for BDS Platform\r | |
29 | //\r | |
30 | #define EFI_BDS_PLATFORM_GUID \\r | |
31 | { \\r | |
32 | 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \\r | |
33 | }\r | |
34 | \r | |
35 | /**\r | |
36 | Get string by string id from HII Interface\r | |
37 | \r | |
38 | \r | |
39 | @param Id String ID.\r | |
40 | \r | |
41 | @retval CHAR16 * String from ID.\r | |
42 | @retval NULL If error occurs.\r | |
43 | \r | |
44 | **/\r | |
45 | CHAR16 *\r | |
46 | GetStringById (\r | |
47 | IN EFI_STRING_ID Id\r | |
48 | );\r | |
49 | \r | |
50 | /**\r | |
51 | Initialize HII global accessor for string support.\r | |
52 | \r | |
53 | **/\r | |
54 | VOID\r | |
55 | InitializeStringSupport (\r | |
56 | VOID\r | |
57 | );\r | |
58 | \r | |
3194d76f DB |
59 | /**\r |
60 | Remove the string package.\r | |
61 | \r | |
62 | **/\r | |
143f0b1d ED |
63 | VOID\r |
64 | UninitializeStringSupport (\r | |
65 | VOID\r | |
66 | );\r | |
67 | \r | |
c9802c45 ED |
68 | /**\r |
69 | Routine to export glyphs to the HII database. This is in addition to whatever is defined in the Graphics Console driver.\r | |
70 | \r | |
71 | **/\r | |
72 | EFI_HII_HANDLE\r | |
73 | ExportFonts (\r | |
74 | VOID\r | |
75 | );\r | |
76 | \r | |
143f0b1d | 77 | #endif // _STRING_H_\r |