]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs
authorDandan Bi <dandan.bi@intel.com>
Tue, 22 Mar 2016 07:37:54 +0000 (15:37 +0800)
committerFeng Tian <feng.tian@intel.com>
Thu, 24 Mar 2016 01:00:53 +0000 (09:00 +0800)
Xcode clang seems unhappy with both FileExplorerLib.h and
Protocol/FileExplorer.h both defining CHOOSE_HANDLER, now
remove the definition in FileExplorerLib.h.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
MdeModulePkg/Include/Library/FileExplorerLib.h

index afb0dc811a694aac35712344fdbe1e3f699de742..2ae8ec61069c2716ab2f67fd323365c2d3baa0c2 100644 (file)
@@ -16,20 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef __FILE_EXPLORER_LIB_H__\r
 #define __FILE_EXPLORER_LIB_H__\r
 \r
-/**\r
-  Prototype for the next process after user chosed one file.\r
-\r
-  @param[in] FilePath     The device path of the find file.\r
-\r
-  @retval    TRUE         Need exit file explorer after do the extra task.\r
-  @retval    FALSE        Not need to exit file explorer after do the extra task.\r
-\r
-**/\r
-typedef\r
-BOOLEAN\r
-(EFIAPI *CHOOSE_HANDLER)(\r
-  IN EFI_DEVICE_PATH_PROTOCOL  *FilePath\r
-  );\r
+#include <Protocol/FileExplorer.h>\r
 \r
 /**\r
   Choose a file in the specified directory. \r