]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/UiApp/FrontPage.h
MdeModulePkg:Refine the UiApp
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / FrontPage.h
index 52545d63c444f5636c77c56006192fef2f7ac021..a42253f401a596b2f1e9a32c73f8605f8d3b2ccc 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  FrontPage routines to handle the callbacks and browser calls\r
+Head file for front page.\r
 \r
 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
@@ -15,14 +15,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _FRONT_PAGE_H_\r
 #define _FRONT_PAGE_H_\r
 \r
-#include "DeviceMngr/DeviceManager.h"\r
-#include "BootMaint/BootMaint.h"\r
-#include "BootMngr/BootManager.h"\r
 #include "String.h"\r
+#include "Ui.h"\r
 \r
 #include <Protocol/BootLogo.h>\r
 //\r
-// These are the VFR compiler generated data representing our VFR data.\r
+// These is  the VFR compiler generated data representing our VFR data.\r
 //\r
 extern UINT8  FrontPageVfrBin[];\r
 \r
@@ -32,11 +30,6 @@ extern BOOLEAN  gConnectAllHappened;
 \r
 #define SMBIOS_TYPE4_CPU_SOCKET_POPULATED BIT6\r
 \r
-///\r
-/// The size of a 3 character ISO639 language code.\r
-///\r
-#define ISO_639_2_ENTRY_SIZE   3\r
-\r
 //\r
 // This is the VFR compiler generated header file which defines the\r
 // string identifiers.\r
@@ -47,15 +40,10 @@ extern BOOLEAN  gConnectAllHappened;
 // These are defined as the same with vfr file\r
 //\r
 #define FRONT_PAGE_FORM_ID             0x1000\r
-#define INVALID_FORM_ID                0x0FFF\r
 \r
-#define FRONT_PAGE_KEY_SECTION         0x1000\r
 #define FRONT_PAGE_KEY_OFFSET          0x4000\r
 #define FRONT_PAGE_KEY_CONTINUE        0x1000\r
 #define FRONT_PAGE_KEY_LANGUAGE        0x1234\r
-#define FRONT_PAGE_KEY_BOOT_MANAGER    0x1064\r
-#define FRONT_PAGE_KEY_DEVICE_MANAGER  0x8567\r
-#define FRONT_PAGE_KEY_BOOT_MAINTAIN   0x9876\r
 \r
 #define LABEL_SELECT_LANGUAGE          0x1000\r
 #define LABEL_PLATFORM_INFORMATION     0x1001\r
@@ -219,30 +207,6 @@ UiEntry (
   IN BOOLEAN                      ConnectAllHappened\r
   );\r
 \r
-/**\r
-  Extract the displayed formset for given HII handle and class guid.\r
-\r
-  @param Handle          The HII handle.\r
-  @param SetupClassGuid  The class guid specifies which form set will be displayed.\r
-  @param SkipCount       Skip some formsets which has processed before.\r
-  @param FormSetTitle    Formset title string.\r
-  @param FormSetHelp     Formset help string.\r
-  @param FormSetGuid     Formset Guid.\r
-\r
-  @retval  TRUE          The formset for given HII handle will be displayed.\r
-  @return  FALSE         The formset for given HII handle will not be displayed.\r
-\r
-**/\r
-BOOLEAN\r
-ExtractDisplayedHiiFormFromHiiHandle (\r
-  IN      EFI_HII_HANDLE      Handle,\r
-  IN      EFI_GUID            *SetupClassGuid,\r
-  IN      UINTN               SkipCount,\r
-  OUT     EFI_STRING_ID       *FormSetTitle,\r
-  OUT     EFI_STRING_ID       *FormSetHelp,\r
-  OUT     EFI_GUID            *FormSetGuid\r
-  );\r
-\r
 /**\r
   Extract device path for given HII handle and class guid.\r
 \r
@@ -257,21 +221,5 @@ ExtractDevicePathFromHiiHandle (
   IN      EFI_HII_HANDLE      Handle\r
   );\r
 \r
-/**\r
-  This function will change video resolution and text mode\r
-  according to defined setup mode or defined boot mode  \r
-\r
-  @param  IsSetupMode   Indicate mode is changed to setup mode or boot mode. \r
-\r
-  @retval  EFI_SUCCESS  Mode is changed successfully.\r
-  @retval  Others             Mode failed to be changed.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-BdsSetConsoleMode (\r
-  BOOLEAN  IsSetupMode\r
-  );\r
-\r
 #endif // _FRONT_PAGE_H_\r
 \r