]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/UefiHiiServicesLib.h
Add NewHii and UefiHiiServiceLib library header file
[mirror_edk2.git] / MdeModulePkg / Include / Library / UefiHiiServicesLib.h
diff --git a/MdeModulePkg/Include/Library/UefiHiiServicesLib.h b/MdeModulePkg/Include/Library/UefiHiiServicesLib.h
new file mode 100644 (file)
index 0000000..bd49038
--- /dev/null
@@ -0,0 +1,52 @@
+/** @file\r
+  Provides global variables that are pointers to the UEFI HII related protocols.\r
+  All of the UEFI HII related protocols are optional, so the consumers of this\r
+  library class must verify that the global variable pointers are not NULL before\r
+  use.   \r
+\r
+  Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
+  All rights reserved. This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __UEFI_HII_SERVICES_LIB_H__\r
+#define __UEFI_HII_SERVICES_LIB_H__\r
+\r
+#include <Protocol/HiiFont.h>\r
+#include <Protocol/HiiString.h>\r
+#include <Protocol/HiiImage.h>\r
+#include <Protocol/HiiDatabase.h>\r
+#include <Protocol/HiiConfigRouting.h>\r
+\r
+///\r
+/// Pointer to the UEFI HII Font Protocol\r
+///\r
+extern EFI_HII_FONT_PROTOCOL  *gHiiFont;\r
+\r
+///\r
+/// Pointer to the UEFI HII String Protocol\r
+///\r
+extern EFI_HII_STRING_PROTOCOL  *gHiiString;\r
+\r
+///\r
+/// Pointer to the UEFI HII Image Protocol\r
+///\r
+extern EFI_HII_IMAGE_PROTOCOL  *gHiiImage;\r
+\r
+///\r
+/// Pointer to the UEFI HII Database Protocol\r
+///\r
+extern EFI_HII_DATABASE_PROTOCOL  *gHiiDatabase;\r
+\r
+///\r
+/// Pointer to the UEFI HII Config Rounting Protocol\r
+///\r
+extern EFI_HII_CONFIG_ROUTING_PROTOCOL  *gHiiConfigRouting;\r
+\r
+#endif\r