1 /** @file 2 Language setting 3 4 Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR> 5 This program and the accompanying materials 6 are licensed and made available under the terms and conditions of the BSD License 7 which accompanies this distribution. The full text of the license may be found at 8 http://opensource.org/licenses/bsd-license.php 9 10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 13 **/ 14 15 #ifndef _LANGUAGE_H_ 16 #define _LANGUAGE_H_ 17 18 #include "String.h" 19 20 /** 21 Get next language from language code list (with separator ';'). 22 23 If LangCode is NULL, then ASSERT. 24 If Lang is NULL, then ASSERT. 25 26 @param LangCode On input: point to first language in the list. On 27 output: point to next language in the list, or 28 NULL if no more language in the list. 29 @param Lang The first language in the list. 30 31 **/ 32 VOID 33 EFIAPI 34 GetNextLanguage ( 35 IN OUT CHAR8 **LangCode, 36 OUT CHAR8 *Lang 37 ); 38 39 /** 40 Determine the current language that will be used 41 based on language related EFI Variables. 42 43 @param LangCodesSettingRequired If required to set LangCode variable 44 45 **/ 46 VOID 47 InitializeLanguage ( 48 BOOLEAN LangCodesSettingRequired 49 ); 50 51 #endif // _LANGUAGE_H_ 52