aboutsummaryrefslogtreecommitdiff
path: root/Source/Message.h
blob: e6bbcce54805869cc460bb83082dd4dd7842ef74 (plain) (blame)
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
#ifndef MESSAGE_HEADER__
#define MESSAGE_HEADER__

/* *************************************
 * 	Includes
 * *************************************/

#include "Global_Inc.h"

/* *************************************
 * 	Defines
 * *************************************/

#define MAX_MESSAGE_STR_SIZE 256

/* *************************************
 * 	Structs and enums
 * *************************************/

typedef struct t_messagedata
{
	bool used;
	uint32_t Timeout;
	char strMessage[MAX_MESSAGE_STR_SIZE];
}TYPE_MESSAGE_DATA;

/* *************************************
 * 	Global prototypes
 * *************************************/

void MessageInit(void);
bool MessageCreate(TYPE_MESSAGE_DATA* ptrMessage);
void MessageHandler(void);
void MessageRender(void);
char* MessageGetString(void);

#endif // MESSAGE_HEADER__