From dcb8f1393ef299df31044593a2f1a178b18d7f4f Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 30 Nov 2021 17:52:13 +0300 Subject: panel: make panel_cd_to() --- Library/UefiShellUfmCommandLib/panel.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Library/UefiShellUfmCommandLib/panel.h') diff --git a/Library/UefiShellUfmCommandLib/panel.h b/Library/UefiShellUfmCommandLib/panel.h index 1d71258..908d260 100644 --- a/Library/UefiShellUfmCommandLib/panel.h +++ b/Library/UefiShellUfmCommandLib/panel.h @@ -60,4 +60,14 @@ VOID panel_release(struct panel_ctx *p); */ BOOLEAN panel_move_cursor(struct panel_ctx *p, UINTN line); +/* + * Changes the working directory + * + * p: the panel on which to operate + * path: the pointer to path string + * + * return: FALSE upon failure and TRUE upon successful completion +*/ +BOOLEAN panel_cd_to(struct panel_ctx *p, CONST CHAR16 *path); + #endif /* UFM_PANEL_H */ -- cgit v1.2.3-18-g5258