aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-12-01 19:10:27 +0300
committerJoursoir <chat@joursoir.net>2021-12-01 19:10:27 +0300
commitc1e685fc2adb9240b8eb948936cd7a20df3b0823 (patch)
treeff21e29e5fa11c1fb544a87b742c31f52c085b50 /Library/UefiShellUfmCommandLib
parent1dbe90c11b327d5aa0071dc55305859d42258ad3 (diff)
downloadufm-c1e685fc2adb9240b8eb948936cd7a20df3b0823.tar.gz
ufm-c1e685fc2adb9240b8eb948936cd7a20df3b0823.tar.bz2
ufm-c1e685fc2adb9240b8eb948936cd7a20df3b0823.zip
add context
Diffstat (limited to 'Library/UefiShellUfmCommandLib')
-rw-r--r--Library/UefiShellUfmCommandLib/filemanager.h22
1 files changed, 22 insertions, 0 deletions
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 <Uefi.h>
+
+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 */