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