X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FApplication%2FUiApp%2FFrontPage.h;h=642d9d0c85ea9ee5abdba92a1745a0192cd45025;hb=d1102dba7210b95e41d06c2338a22ba6af248645;hp=52545d63c444f5636c77c56006192fef2f7ac021;hpb=afc244a59d76be23471719d1cffd27785c59a3e8;p=mirror_edk2.git diff --git a/MdeModulePkg/Application/UiApp/FrontPage.h b/MdeModulePkg/Application/UiApp/FrontPage.h index 52545d63c4..642d9d0c85 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.h +++ b/MdeModulePkg/Application/UiApp/FrontPage.h @@ -1,7 +1,7 @@ /** @file - FrontPage routines to handle the callbacks and browser calls +Head file for front page. -Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -15,28 +15,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef _FRONT_PAGE_H_ #define _FRONT_PAGE_H_ -#include "DeviceMngr/DeviceManager.h" -#include "BootMaint/BootMaint.h" -#include "BootMngr/BootManager.h" #include "String.h" +#include "Ui.h" #include // -// These are the VFR compiler generated data representing our VFR data. +// These is the VFR compiler generated data representing our VFR data. // extern UINT8 FrontPageVfrBin[]; extern EFI_FORM_BROWSER2_PROTOCOL *gFormBrowser2; -extern BOOLEAN gConnectAllHappened; #define SMBIOS_TYPE4_CPU_SOCKET_POPULATED BIT6 -/// -/// The size of a 3 character ISO639 language code. -/// -#define ISO_639_2_ENTRY_SIZE 3 - // // This is the VFR compiler generated header file which defines the // string identifiers. @@ -47,18 +39,8 @@ extern BOOLEAN gConnectAllHappened; // These are defined as the same with vfr file // #define FRONT_PAGE_FORM_ID 0x1000 -#define INVALID_FORM_ID 0x0FFF - -#define FRONT_PAGE_KEY_SECTION 0x1000 -#define FRONT_PAGE_KEY_OFFSET 0x4000 -#define FRONT_PAGE_KEY_CONTINUE 0x1000 -#define FRONT_PAGE_KEY_LANGUAGE 0x1234 -#define FRONT_PAGE_KEY_BOOT_MANAGER 0x1064 -#define FRONT_PAGE_KEY_DEVICE_MANAGER 0x8567 -#define FRONT_PAGE_KEY_BOOT_MAINTAIN 0x9876 - -#define LABEL_SELECT_LANGUAGE 0x1000 -#define LABEL_PLATFORM_INFORMATION 0x1001 + +#define LABEL_FRANTPAGE_INFORMATION 0x1000 #define LABEL_END 0xffff #define FRONT_PAGE_FORMSET_GUID \ @@ -219,30 +201,6 @@ UiEntry ( IN BOOLEAN ConnectAllHappened ); -/** - Extract the displayed formset for given HII handle and class guid. - - @param Handle The HII handle. - @param SetupClassGuid The class guid specifies which form set will be displayed. - @param SkipCount Skip some formsets which has processed before. - @param FormSetTitle Formset title string. - @param FormSetHelp Formset help string. - @param FormSetGuid Formset Guid. - - @retval TRUE The formset for given HII handle will be displayed. - @return FALSE The formset for given HII handle will not be displayed. - -**/ -BOOLEAN -ExtractDisplayedHiiFormFromHiiHandle ( - IN EFI_HII_HANDLE Handle, - IN EFI_GUID *SetupClassGuid, - IN UINTN SkipCount, - OUT EFI_STRING_ID *FormSetTitle, - OUT EFI_STRING_ID *FormSetHelp, - OUT EFI_GUID *FormSetGuid - ); - /** Extract device path for given HII handle and class guid. @@ -257,21 +215,5 @@ ExtractDevicePathFromHiiHandle ( IN EFI_HII_HANDLE Handle ); -/** - This function will change video resolution and text mode - according to defined setup mode or defined boot mode - - @param IsSetupMode Indicate mode is changed to setup mode or boot mode. - - @retval EFI_SUCCESS Mode is changed successfully. - @retval Others Mode failed to be changed. - -**/ -EFI_STATUS -EFIAPI -BdsSetConsoleMode ( - BOOLEAN IsSetupMode - ); - #endif // _FRONT_PAGE_H_