summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-03-22 15:37:54 +0800
committerFeng Tian <feng.tian@intel.com>2016-03-24 09:00:53 +0800
commit9e41f686fc20304086db387563089e42cf3189d5 (patch)
tree7ca8a8ccb181ad2b1bc908682c116c31b7b5ed04 /MdeModulePkg/Include
parent4f5eff8193096eb847639f090a7dfae3cff95fde (diff)
downloadedk2-platforms-9e41f686fc20304086db387563089e42cf3189d5.tar.xz
MdeModulePkg/FileExplorerLib.h: Remove the redefinition of typedefs
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>
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Library/FileExplorerLib.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/MdeModulePkg/Include/Library/FileExplorerLib.h b/MdeModulePkg/Include/Library/FileExplorerLib.h
index afb0dc811a..2ae8ec6106 100644
--- a/MdeModulePkg/Include/Library/FileExplorerLib.h
+++ b/MdeModulePkg/Include/Library/FileExplorerLib.h
@@ -16,20 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __FILE_EXPLORER_LIB_H__
#define __FILE_EXPLORER_LIB_H__
-/**
- Prototype for the next process after user chosed one file.
-
- @param[in] FilePath The device path of the find file.
-
- @retval TRUE Need exit file explorer after do the extra task.
- @retval FALSE Not need to exit file explorer after do the extra task.
-
-**/
-typedef
-BOOLEAN
-(EFIAPI *CHOOSE_HANDLER)(
- IN EFI_DEVICE_PATH_PROTOCOL *FilePath
- );
+#include <Protocol/FileExplorer.h>
/**
Choose a file in the specified directory.