]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Universal/BdsDxe/Language.h
Reviewed the code comments in the Include/Protocol directory for typos, grammar issue...
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / Language.h
CommitLineData
5c08e117 1/** @file\r
2 Language setting\r
3\r
4Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT 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
32VOID\r
33EFIAPI\r
34GetNextLanguage (\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
46VOID\r
47InitializeLanguage (\r
48 BOOLEAN LangCodesSettingRequired\r
49 );\r
50\r
51#endif // _LANGUAGE_H_\r