Skip to content

Commit b9777e7

Browse files
author
ldg-github-ci
committed
[update] Branch develop | Commit fd3003fa6a9321dacd99cd80a4424cc8b7adca00
1 parent a4b971f commit b9777e7

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

include/eth_internals.h

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
#pragma once
44

5-
#include "os.h"
6-
#include "cx.h"
75
#include <stdbool.h>
86
#include <string.h>
7+
#include "os.h"
8+
#include "cx.h"
9+
#ifdef HAVE_NBGL
10+
#include "nbgl_types.h"
11+
#endif
912

1013
#define MAX_TICKER_LEN 11 // 10 characters + '\0'
1114

@@ -19,7 +22,7 @@
1922

2023
#define PARAMETER_LENGTH 32
2124

22-
#define RUN_APPLICATION 1
25+
#define RUN_APPLICATION 1
2326

2427
#define COLLECTION_NAME_MAX_LEN 70
2528

@@ -55,6 +58,14 @@ typedef struct nftInfo_t {
5558
char collectionName[COLLECTION_NAME_MAX_LEN + 1];
5659
} nftInfo_t;
5760

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+
5869
typedef union extraInfo_t {
5970
tokenDefinition_t token;
6071
nftInfo_t nft;

0 commit comments

Comments
 (0)