]>
Commit | Line | Data |
---|---|---|
5c08e117 | 1 | /** @file\r |
2 | Language setting\r | |
3 | \r | |
180a5a35 HT |
4 | Copyright (c) 2004 - 2008, 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 _LANGUAGE_H_\r | |
16 | #define _LANGUAGE_H_\r | |
17 | \r | |
18 | #include "String.h"\r | |
19 | \r | |
0f268521 | 20 | /**\r |
21 | Get next language from language code list (with separator ';').\r | |
22 | \r | |
23 | If LangCode is NULL, then ASSERT.\r | |
24 | If Lang is NULL, then ASSERT.\r | |
25 | \r | |
26 | @param LangCode On input: point to first language in the list. On\r | |
27 | output: point to next language in the list, or\r | |
28 | NULL if no more language in the list.\r | |
29 | @param Lang The first language in the list.\r | |
30 | \r | |
31 | **/\r | |
32 | VOID\r | |
33 | EFIAPI\r | |
34 | GetNextLanguage (\r | |
35 | IN OUT CHAR8 **LangCode,\r | |
36 | OUT CHAR8 *Lang\r | |
37 | );\r | |
38 | \r | |
5c08e117 | 39 | /**\r |
40 | Determine the current language that will be used\r | |
41 | based on language related EFI Variables.\r | |
42 | \r | |
43 | @param LangCodesSettingRequired If required to set LangCode variable\r | |
44 | \r | |
45 | **/\r | |
46 | VOID\r | |
47 | InitializeLanguage (\r | |
48 | BOOLEAN LangCodesSettingRequired\r | |
49 | );\r | |
50 | \r | |
51 | #endif // _LANGUAGE_H_\r |