aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/actions.h
blob: 4a6b113514d60e10243343fc99386ed03de403b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef UFM_ACTIONS_H
#define UFM_ACTIONS_H

#include <Uefi.h>

enum ACTION_TYPE {
	ACTION_ROUTINE = 0,
	ACTION_CMD,
	ACTION_LAST
};

struct shortcut {
	enum ACTION_TYPE type;
	EFI_INPUT_KEY key;
	BOOLEAN (*action)(VOID);
	CHAR16 *button_name;
	CHAR16 *cmd_name;
};

BOOLEAN jump_up(VOID);
BOOLEAN jump_down(VOID);
BOOLEAN change_panel(VOID);
BOOLEAN mark(VOID);
BOOLEAN show_filesystems(VOID);
BOOLEAN do_nothing(VOID);
BOOLEAN quit(VOID);

#endif /* UFM_ACTIONS_H */