From c1e685fc2adb9240b8eb948936cd7a20df3b0823 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Wed, 1 Dec 2021 19:10:27 +0300 Subject: add context --- Library/UefiShellUfmCommandLib/filemanager.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Library/UefiShellUfmCommandLib/filemanager.h diff --git a/Library/UefiShellUfmCommandLib/filemanager.h b/Library/UefiShellUfmCommandLib/filemanager.h new file mode 100644 index 0000000..2c9fcbc --- /dev/null +++ b/Library/UefiShellUfmCommandLib/filemanager.h @@ -0,0 +1,22 @@ +#ifndef UFM_FILE_MANAGER_H +#define UFM_FILE_MANAGER_H + +#include + +struct screen; +struct window; +struct panel_ctx; + +struct fm_context { + struct screen *scr; + struct window *menubar, *cmdbar; + + struct panel_ctx *left, *right; + struct panel_ctx *curpanel; + + BOOLEAN flag_run; +}; + +extern struct fm_context fm_ctx; + +#endif /* UFM_FILE_MANAGER_H */ -- cgit v1.2.3-18-g5258