-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflipper_region_unlock.h
47 lines (35 loc) · 952 Bytes
/
flipper_region_unlock.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
/**
* @file ble_beacon_app.h
* @brief BLE beacon example.
*/
#pragma once
#include "extra_beacon.h"
#include <furi.h>
#include <gui/gui.h>
#include <gui/scene_manager.h>
#include <gui/view.h>
#include <gui/view_dispatcher.h>
#include <gui/modules/dialog_ex.h>
#include <gui/modules/text_box.h>
#include <gui/modules/widget.h>
#include <notification/notification_messages.h>
#include <rpc/rpc_app.h>
#include <furi_hal_bt.h>
#include "scenes/scenes.h"
#include <stdint.h>
#include <furi_hal_region.h>
#define UNLOCKED_REGION_CODE "HAX"
typedef struct {
Gui *gui;
SceneManager *scene_manager;
ViewDispatcher *view_dispatcher;
DialogEx *mainScreen;
FuriString *mainScreenStatusString;
TextBox *bandsScreen;
FuriString *bandsScreenStatusString;
} FlippeUnlockRegionApp;
typedef enum {
FlipperRegionUnlockAppViewMain,
FlipperRegionUnlockAppViewBands,
} FlipperRegionUnlockAppView;
extern const FuriHalRegion unlockedRegion;