]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/UiApp/FrontPage.h
IntelSiliconPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / FrontPage.h
index 52545d63c444f5636c77c56006192fef2f7ac021..642d9d0c85ea9ee5abdba92a1745a0192cd45025 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
+Copyright (c) 2004 - 2016, 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
@@ -15,28 +15,20 @@ 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
 extern EFI_FORM_BROWSER2_PROTOCOL      *gFormBrowser2;\r
 \r
-extern BOOLEAN  gConnectAllHappened;\r
 \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,18 +39,8 @@ 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
+\r
+#define LABEL_FRANTPAGE_INFORMATION    0x1000\r
 #define LABEL_END                      0xffff\r
 \r
 #define FRONT_PAGE_FORMSET_GUID \\r
@@ -219,30 +201,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 +215,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