]>
Commit | Line | Data |
---|---|---|
5c08e117 | 1 | /** @file\r |
2 | String support\r | |
3 | \r | |
180a5a35 HT |
4 | Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>\r |
5 | This program and the accompanying materials\r | |
5c08e117 | 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 | #include "Bds.h"\r | |
19 | \r | |
20 | extern EFI_HII_HANDLE gStringPackHandle;\r | |
21 | \r | |
22 | //\r | |
23 | // This is the VFR compiler generated header file which defines the\r | |
24 | // string identifiers.\r | |
25 | //\r | |
26 | \r | |
27 | extern UINT8 BdsDxeStrings[];\r | |
28 | \r | |
29 | //\r | |
30 | // String Definition Guid for BDS Platform\r | |
31 | //\r | |
32 | #define EFI_BDS_PLATFORM_GUID \\r | |
33 | { \\r | |
34 | 0x7777E939, 0xD57E, 0x4DCB, 0xA0, 0x8E, 0x64, 0xD7, 0x98, 0x57, 0x1E, 0x0F \\r | |
35 | }\r | |
36 | \r | |
37 | /**\r | |
38 | Get string by string id from HII Interface\r | |
39 | \r | |
40 | \r | |
41 | @param Id String ID.\r | |
42 | \r | |
43 | @retval CHAR16 * String from ID.\r | |
44 | @retval NULL If error occurs.\r | |
45 | \r | |
46 | **/\r | |
47 | CHAR16 *\r | |
48 | GetStringById (\r | |
49 | IN EFI_STRING_ID Id\r | |
50 | );\r | |
51 | \r | |
52 | /**\r | |
13078b3f | 53 | Initialize HII global accessor for string support.\r |
5c08e117 | 54 | \r |
5c08e117 | 55 | **/\r |
cb7d01c0 | 56 | VOID\r |
5c08e117 | 57 | InitializeStringSupport (\r |
58 | VOID\r | |
59 | );\r | |
60 | \r | |
61 | /**\r | |
62 | Call the browser and display the front page\r | |
63 | \r | |
64 | @return Status code that will be returned by\r | |
65 | EFI_FORM_BROWSER2_PROTOCOL.SendForm ().\r | |
66 | \r | |
67 | **/\r | |
68 | EFI_STATUS\r | |
69 | CallFrontPage (\r | |
70 | VOID\r | |
71 | );\r | |
72 | \r | |
73 | #endif // _STRING_H_\r |