Loading...
Searching...
No Matches
power_off.h
1#pragma once
2
3typedef struct PowerOff PowerOff;
4
5typedef enum {
6 PowerOffResponseDefault,
7 PowerOffResponseOk,
8 PowerOffResponseCancel,
9 PowerOffResponseHide,
10} PowerOffResponse;
11
12#include <gui/view.h>
13
14PowerOff* power_off_alloc(void);
15
16void power_off_free(PowerOff* power_off);
17
18View* power_off_get_view(PowerOff* power_off);
19
20void power_off_set_time_left(PowerOff* power_off, uint8_t time_left);
21
22PowerOffResponse power_off_get_response(PowerOff* power_off);
Definition power_off.c:6
Definition view_i.h:16
GUI: View API.