]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DriverSampleDxe/DriverSample.h
MdeModulePkg/DriverSampleDxe: Refine the sample case for UNION type
[mirror_edk2.git] / MdeModulePkg / Universal / DriverSampleDxe / DriverSample.h
index 07ace64852b6b64707d3937ee1169134ac4d9c26..00752bfa29b5341a4ce8e91af49bf092b5e50c16 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -32,6 +32,8 @@ Revision History
 #include <Protocol/HiiDatabase.h>\r
 #include <Protocol/HiiString.h>\r
 #include <Protocol/FormBrowserEx.h>\r
+#include <Protocol/HiiConfigKeyword.h>\r
+#include <Protocol/HiiPopup.h>\r
 \r
 #include <Guid/MdeModuleHii.h>\r
 #include <Library/DebugLib.h>\r
@@ -83,7 +85,8 @@ typedef struct {
   EFI_HII_HANDLE                   HiiHandle[2];\r
   DRIVER_SAMPLE_CONFIGURATION      Configuration;\r
   MY_EFI_VARSTORE_DATA             VarStoreConfig;\r
-  UINT8                            PasswordState;\r
+  MY_EFI_BITS_VARSTORE_DATA        BitsVarStoreConfig;\r
+  MY_EFI_UNION_DATA                UnionConfig;\r
 \r
   //\r
   // Name/Value storage Name list\r
@@ -97,6 +100,9 @@ typedef struct {
   EFI_HII_DATABASE_PROTOCOL        *HiiDatabase;\r
   EFI_HII_STRING_PROTOCOL          *HiiString;\r
   EFI_HII_CONFIG_ROUTING_PROTOCOL  *HiiConfigRouting;\r
+  EFI_CONFIG_KEYWORD_HANDLER_PROTOCOL *HiiKeywordHandler;\r
+  EFI_HII_POPUP_PROTOCOL              *HiiPopup;\r
+\r
   EFI_FORM_BROWSER2_PROTOCOL       *FormBrowser2;\r
 \r
   //\r