]>
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 | |
5c08e117 | 29 | /**\r |
30 | Get string by string id from HII Interface\r | |
31 | \r | |
32 | \r | |
33 | @param Id String ID.\r | |
34 | \r | |
35 | @retval CHAR16 * String from ID.\r | |
36 | @retval NULL If error occurs.\r | |
37 | \r | |
38 | **/\r | |
39 | CHAR16 *\r | |
40 | GetStringById (\r | |
41 | IN EFI_STRING_ID Id\r | |
42 | );\r | |
43 | \r | |
44 | /**\r | |
13078b3f | 45 | Initialize HII global accessor for string support.\r |
5c08e117 | 46 | \r |
5c08e117 | 47 | **/\r |
cb7d01c0 | 48 | VOID\r |
5c08e117 | 49 | InitializeStringSupport (\r |
50 | VOID\r | |
51 | );\r | |
52 | \r | |
53 | /**\r | |
54 | Call the browser and display the front page\r | |
55 | \r | |
56 | @return Status code that will be returned by\r | |
57 | EFI_FORM_BROWSER2_PROTOCOL.SendForm ().\r | |
58 | \r | |
59 | **/\r | |
60 | EFI_STATUS\r | |
61 | CallFrontPage (\r | |
62 | VOID\r | |
63 | );\r | |
64 | \r | |
65 | #endif // _STRING_H_\r |