

#ifndef _POPUPS_H_
#define _POPUPS_H_

#include "IPC.h"
#include "GUI.h"
#include "IO_Manager.h"
#include "Popup_Scheduler.h"
#include "Sound_Scheduler.h"
#include "Warning_Processor.h"
#include "main.h"
#include "Sound_Player.h"
#include "Communication_Over_CAN.h"
#include "Non_volatile_Memorys.h"
#include "Data_Processor.h"

#define  POPUP_UNIT_FL                      0x01
#define  POPUP_UNIT_FR                      0x02
#define  POPUP_UNIT_RL                      0x04
#define  POPUP_UNIT_RR                      0x08
#define  POPUP_UNIT_TR                      0x10
#define  POPUP_UNIT_HO                      0x20

extern   uint8_t CAN_ERROR;

void Popups_Polling(void);
void Popups_Management_Service(void);
void Popups_Displaying(uint8_t PopupID);
void Popups_Sound_Playing(uint8_t PopupID);

#endif