]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/Shell.h
This refactors 3 functions out of ShellCommandLib and puts them into a new library...
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Jun 2011 22:58:53 +0000 (22:58 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Jun 2011 22:58:53 +0000 (22:58 +0000)
commitab94587a7d2cd89695f9190420daceae0d2b7446
treed736759dc8ce225a8c7d1aa699703e6ca37a4a7e
parentf1518f69703e1086f346a6e9d8e5a59855954178
This refactors 3 functions out of ShellCommandLib and puts them into a new library (but as 2 functions instead of 3).  This allows for users outside of the shell itself to have access to these functions.

1) Remove the 3 functions out of the shell's internal library (ShellCommandLib)
2) Add a new library class (PathLib)
3) Add an instance of this class (BasePathLib)
4) Change all internal shell callers to use this new library class.

signed-off-by: jcarsey
reviewed-by: jljusten

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11936 6f19259b-4bc3-4df7-8a09-765794883524
21 files changed:
ShellPkg/Application/Shell/FileHandleWrappers.c
ShellPkg/Application/Shell/Shell.c
ShellPkg/Application/Shell/Shell.h
ShellPkg/Application/Shell/Shell.inf
ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg/Include/Library/PathLib.h [new file with mode: 0644]
ShellPkg/Include/Library/ShellCommandLib.h
ShellPkg/Library/BasePathLib/BasePathLib.c [new file with mode: 0644]
ShellPkg/Library/BasePathLib/BasePathLib.inf [new file with mode: 0644]
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c
ShellPkg/Library/UefiShellLevel1CommandsLib/If.c
ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c
ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c
ShellPkg/Library/UefiShellLevel2CommandsLib/Ls.c
ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
ShellPkg/ShellPkg.dec
ShellPkg/ShellPkg.dsc