]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
1) Clean up the INF and add in comment to describe the surface area of modules
[mirror_edk2.git] / MdeModulePkg / Universal / SetupBrowserDxe / Ui.h
index 1eaeb59aba7bccd4167b98743713530893ed67ce..6842fe9d7a4fceca72a146b8fa9187c097ea3f68 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Private structure, MACRO and function definitions for User Interface related functionalities.\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation\r
+Copyright (c) 2004 - 2008, 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
@@ -26,6 +26,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #define SUBTITLE_INDENT  2\r
 \r
+\r
+//\r
+// It take 23 characters including the NULL to print a 64 bits number with "[" and "]".\r
+// pow(2, 64) = [18446744073709551616]\r
+//\r
+#define MAX_NUMERIC_INPUT_WIDTH 23\r
+\r
 typedef enum {\r
   UiNoOperation,\r
   UiDefault,\r
@@ -104,8 +111,8 @@ typedef struct {
   FORM_BROWSER_STATEMENT  *Statement;\r
 } UI_MENU_SELECTION;\r
 \r
-#define UI_MENU_OPTION_SIGNATURE  EFI_SIGNATURE_32 ('u', 'i', 'm', 'm')\r
-#define UI_MENU_LIST_SIGNATURE    EFI_SIGNATURE_32 ('u', 'i', 'm', 'l')\r
+#define UI_MENU_OPTION_SIGNATURE  SIGNATURE_32 ('u', 'i', 'm', 'm')\r
+#define UI_MENU_LIST_SIGNATURE    SIGNATURE_32 ('u', 'i', 'm', 'l')\r
 \r
 typedef struct {\r
   UINTN                   Signature;\r
@@ -169,6 +176,7 @@ typedef struct {
 extern LIST_ENTRY          gMenuList;\r
 extern MENU_REFRESH_ENTRY  *gMenuRefreshHead;\r
 extern UI_MENU_SELECTION   *gCurrentSelection;\r
+extern BOOLEAN             mHiiPackageListUpdated;\r
 \r
 //\r
 // Global Functions\r
@@ -349,7 +357,7 @@ UiWaitForSingleEvent (
   Draw a pop up windows based on the dimension, number of lines and\r
   strings specified.\r
 \r
-  @param RequestedWidth  The width of the pop-up.\r
+  @param ScreenWidth     The width of the pop-up.\r
   @param NumberOfLines   The number of lines.\r
   @param ...             A series of text strings that displayed in the pop-up.\r
 \r
@@ -733,6 +741,8 @@ CompareHiiValue (
 /**\r
   Evaluate the result of a HII expression\r
 \r
+  If Expression is NULL, then ASSERT.\r
+\r
   @param  FormSet                FormSet associated with this expression.\r
   @param  Form                   Form associated with this expression.\r
   @param  Expression             Expression to be evaluated.\r