-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp_state.h
More file actions
38 lines (33 loc) · 914 Bytes
/
Copy pathapp_state.h
File metadata and controls
38 lines (33 loc) · 914 Bytes
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
#pragma once
#include "logic.h"
#include <gui/modules/dialog_ex.h>
#include <gui/modules/popup.h>
#include <gui/modules/submenu.h>
#include <gui/modules/widget.h>
#include <gui/view_dispatcher.h>
#define SCAN_DIR "/ext/subghz"
#define FULL_PATH_LEN 280
typedef enum {
SubDupFinderViewSubmenu,
SubDupFinderViewGroups,
SubDupFinderViewFiles,
SubDupFinderViewConfirm,
SubDupFinderViewCredits,
SubDupFinderViewPopup,
} SubDupFinderView;
typedef enum {
SubDupFinderSubmenuIndexScan,
SubDupFinderSubmenuIndexCredits,
} SubDupFinderSubmenuIndex;
typedef struct {
ViewDispatcher *view_dispatcher;
Submenu *main_submenu;
Submenu *groups_submenu;
Submenu *files_in_group_submenu;
DialogEx *confirm_dialog;
Widget *credits_widget;
Popup *popup;
HashDatabase db;
char selected_path[APP_MAX_PATH_LEN];
size_t selected_group_index;
} SubDupFinderApp;