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>
#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