blob: 66aaee9678f7a85fe92383bbc11847593487a74c (
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
29
30
31
32
33
|
#ifndef UEFI_MONITOR_TEST_H
#define UEFI_MONITOR_TEST_H
#include "Graphics.h"
typedef struct _UMT_CONTEXT UMT_CONTEXT;
typedef struct {
VOID (*Init)(UMT_CONTEXT *);
VOID (*Doit)(UMT_CONTEXT *);
VOID (*Tip)(UMT_CONTEXT *);
VOID (*KeyRight)(UMT_CONTEXT *);
VOID (*KeyLeft)(UMT_CONTEXT *);
} UMT_STATE_ACTIONS;
enum UMT_STATE {
UMT_STATE_MAIN_MENU = 0,
UMT_STATE_END
};
struct _UMT_CONTEXT {
enum UMT_STATE State;
BOOLEAN Running;
BOOLEAN ShowTip;
CONST UMT_STATE_ACTIONS *Actions;
GRAPHICS_CONTEXT *Graphics;
};
extern EFI_HII_HANDLE gUmtHiiHandle;
#endif /* UEFI_MONITOR_TEST_H */
|