1 /** @file
2   Provides global variables that are pointers to the UEFI HII related protocols.
3   All of the UEFI HII related protocols are optional, so the consumers of this
4   library class must verify that the global variable pointers are not NULL before
5   use.
6 
7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
9 
10 **/
11 
12 #ifndef __UEFI_HII_SERVICES_LIB_H__
13 #define __UEFI_HII_SERVICES_LIB_H__
14 
15 #include <Protocol/HiiFont.h>
16 #include <Protocol/HiiString.h>
17 #include <Protocol/HiiImage.h>
18 #include <Protocol/HiiDatabase.h>
19 #include <Protocol/HiiConfigRouting.h>
20 
21 ///
22 /// The pointer to the UEFI HII Font Protocol.
23 ///
24 extern EFI_HII_FONT_PROTOCOL  *gHiiFont;
25 
26 ///
27 /// The pointer to the UEFI HII String Protocol.
28 ///
29 extern EFI_HII_STRING_PROTOCOL  *gHiiString;
30 
31 ///
32 /// The pointer to the UEFI HII Image Protocol.
33 ///
34 extern EFI_HII_IMAGE_PROTOCOL  *gHiiImage;
35 
36 ///
37 /// The pointer to the UEFI HII Database Protocol.
38 ///
39 extern EFI_HII_DATABASE_PROTOCOL  *gHiiDatabase;
40 
41 ///
42 /// The pointer to the UEFI HII Config Rounting Protocol.
43 ///
44 extern EFI_HII_CONFIG_ROUTING_PROTOCOL  *gHiiConfigRouting;
45 
46 #endif
47