-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnfc_comparator.h
46 lines (35 loc) · 1.08 KB
/
nfc_comparator.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
#pragma once
#include "nfc_comparator_icons.h"
#include <gui/gui.h>
#include <gui/view_dispatcher.h>
#include <gui/scene_manager.h>
#include <gui/modules/submenu.h>
#include <gui/modules/file_browser.h>
#include <gui/modules/popup.h>
#include <nfc_device.h>
#include <nfc_listener.h>
#include <nfc_scanner.h>
#include <notification/notification_messages.h>
#include <storage/storage.h>
#include <toolbox/stream/stream.h>
#include <toolbox/stream/file_stream.h>
#include <toolbox/path.h>
#include "scenes/nfc_comparator_scene.h"
#include "lib/reader_worker/nfc_comparator_reader_worker.h"
#include "lib/led_worker/nfc_comparator_led_worker.h"
#define NFC_ITEM_LOCATION "/ext/nfc/"
typedef enum {
NfcComparatorView_Submenu,
NfcComparatorView_FileBrowser,
NfcComparatorView_Popup
} NfcComparatorViews;
typedef struct {
SceneManager* scene_manager;
ViewDispatcher* view_dispatcher;
Submenu* submenu;
FileBrowser* file_browser;
FuriString* file_browser_output;
Popup* popup;
NfcComparatorReaderWorker* worker;
NotificationApp* notification_app;
} NfcComparator;