]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Universal/BdsDxe/Language.h
IntelFrameworkModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / Language.h
1 /** @file
2 Language setting
3
4 Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _LANGUAGE_H_
10 #define _LANGUAGE_H_
11
12 #include "String.h"
13
14 /**
15 Get next language from language code list (with separator ';').
16
17 If LangCode is NULL, then ASSERT.
18 If Lang is NULL, then ASSERT.
19
20 @param LangCode On input: point to first language in the list. On
21 output: point to next language in the list, or
22 NULL if no more language in the list.
23 @param Lang The first language in the list.
24
25 **/
26 VOID
27 EFIAPI
28 GetNextLanguage (
29 IN OUT CHAR8 **LangCode,
30 OUT CHAR8 *Lang
31 );
32
33 /**
34 Determine the current language that will be used
35 based on language related EFI Variables.
36
37 @param LangCodesSettingRequired If required to set LangCode variable
38
39 **/
40 VOID
41 InitializeLanguage (
42 BOOLEAN LangCodesSettingRequired
43 );
44
45 #endif // _LANGUAGE_H_