File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
#pragma once
4
4
5
- #include "os.h"
6
- #include "cx.h"
7
5
#include <stdbool.h>
8
6
#include <string.h>
7
+ #include "os.h"
8
+ #include "cx.h"
9
+ #ifdef HAVE_NBGL
10
+ #include "nbgl_types.h"
11
+ #endif
9
12
10
13
#define MAX_TICKER_LEN 11 // 10 characters + '\0'
11
14
19
22
20
23
#define PARAMETER_LENGTH 32
21
24
22
- #define RUN_APPLICATION 1
25
+ #define RUN_APPLICATION 1
23
26
24
27
#define COLLECTION_NAME_MAX_LEN 70
25
28
@@ -55,6 +58,14 @@ typedef struct nftInfo_t {
55
58
char collectionName [COLLECTION_NAME_MAX_LEN + 1 ];
56
59
} nftInfo_t ;
57
60
61
+ typedef struct caller_app_t {
62
+ const char * name ;
63
+ #ifdef HAVE_NBGL
64
+ const nbgl_icon_details_t * icon ;
65
+ #endif
66
+ char type ; // does not have to be set by the caller app
67
+ } caller_app_t ;
68
+
58
69
typedef union extraInfo_t {
59
70
tokenDefinition_t token ;
60
71
nftInfo_t nft ;
You can’t perform that action at this time.
0 commit comments