]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/FormCallback.h
Add DxeBootScriptLibNull in IntelFrameworkPkg.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / FormCallback.h
index 8845864be31acd5569f4e86179f7e68b4ed88cf6..bded9c0835e817c51a8da51894f6f7e5a48a5887 100644 (file)
@@ -1,18 +1,18 @@
 /** @file\r
-  The EFI_FORM_CALLBACK_PROTOCOL is the defined interface for access to custom \r
-  NV storage devices as well as communication of user selections in a more \r
-  interactive environment.  This protocol should be published by hardware \r
-  specific drivers which want to export access to custom hardware storage or \r
+  The EFI_FORM_CALLBACK_PROTOCOL is the defined interface for access to custom\r
+  NV storage devices as well as communication of user selections in a more\r
+  interactive environment.  This protocol should be published by hardware\r
+  specific drivers which want to export access to custom hardware storage or\r
   publish IFR which has a requirement to call back the original driver.\r
 \r
-  Copyright (c) 2006, Intel Corporation                                                         \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
+  Copyright (c) 2006, Intel Corporation\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
+  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
   Module Name:  FormCallback.h\r
 \r
 #ifndef __FORM_CALLBACK_H__\r
 #define __FORM_CALLBACK_H__\r
 \r
+#include <PiDxe.h>\r
+\r
+#include <Protocol/HiiFramework.h>\r
+#include <Protocol/FrameworkFormBrowser.h>\r
 \r
 #define EFI_FORM_CALLBACK_PROTOCOL_GUID \\r
   { \\r
@@ -66,6 +70,7 @@ typedef struct {
   //\r
 } EFI_IFR_DATA_ARRAY;\r
 \r
+\r
 typedef union {\r
   EFI_IFR_DATA_ARRAY  DataArray;  // Primarily used by those who call back to their drivers and use HII as a repository\r
   EFI_IFR_PACKET      DataPacket; // Primarily used by those which do not use HII as a repository\r
@@ -86,7 +91,7 @@ typedef struct {
 // The following types are currently defined:\r
 //\r
 /**\r
-  Returns the value of a variable. \r
+  Returns the value of a variable.\r
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  VariableName          A NULL-terminated Unicode string that is the\r
@@ -118,7 +123,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
-  Sets the value of a variable. \r
+  Sets the value of a variable.\r
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  VariableName          A NULL-terminated Unicode string that is the\r
@@ -155,7 +160,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
-  This function is called to provide results data to the driver. \r
+  This function is called to provide results data to the driver.\r
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  KeyValue              A unique value which is sent to the original exporting\r
@@ -179,10 +184,10 @@ EFI_STATUS
 \r
 /**\r
   @par Protocol Description:\r
-  The EFI_FORM_CALLBACK_PROTOCOL is the defined interface for access to \r
-  custom NVS devices as well as communication of user selections in a more \r
-  interactive environment. This protocol should be published by hardware-specific \r
-  drivers that want to export access to custom hardware storage or publish IFR \r
+  The EFI_FORM_CALLBACK_PROTOCOL is the defined interface for access to\r
+  custom NVS devices as well as communication of user selections in a more\r
+  interactive environment. This protocol should be published by hardware-specific\r
+  drivers that want to export access to custom hardware storage or publish IFR\r
   that has a requirement to call back the original driver.\r
 \r
   @param NvRead\r
@@ -192,7 +197,7 @@ EFI_STATUS
   The write operation to access the NV data serviced by a hardware-specific driver.\r
 \r
   @param Callback\r
-  The function that is called from the configuration browser to communicate key value pairs. \r
+  The function that is called from the configuration browser to communicate key value pairs.\r
 \r
 **/\r
 struct _EFI_FORM_CALLBACK_PROTOCOL {\r