blob: 6c7e0ed1e426d9126d8cc309a1f078b80490aee8 (
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
|
#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;
};
#endif /* UEFI_MONITOR_TEST_H */
|