-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_i.h
52 lines (40 loc) · 1.16 KB
/
doc_i.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#pragma once
#include <helpers/dolphin_state.h>
//? -------------- Views --------------
#include <views/doc_selection.h>
#include <views/doc_description.h>
#include <gui/modules/text_input.h>
//? ------------ Views End ------------
#include <gui/gui.h>
#include <gui/view_dispatcher.h>
#include <dialogs/dialogs.h>
//! -------------- DEBUG --------------
#include <notification/notification_messages.h>
//! ------------ DEBUG END ------------
#define TAG "FlipperDoc"
typedef struct {
DolphinState* dolphin;
FuriTimer* dolphin_timer;
uint8_t dolphin_timer_counter;
//? -------------- Views --------------
DocSelection* selection;
bool in_selection;
DocDescription* description;
bool in_description;
TextInput* text_input;
//? ------------ Views End ------------
Gui* gui;
ViewDispatcher* view_dispatcher;
SceneManager* scene_manager;
DialogsApp* dialogs;
FuriString* file_path;
char text_input_array[50];
//! -------------- DEBUG --------------
NotificationApp* notification;
//! ------------ DEBUG END ------------
} Doc;
enum {
DocSelectionView,
DocDescriptionView,
DocTextInputView,
};