#ifndef __VOICEMNGR_MAIN_H
#define __VOICEMNGR_MAIN_H

#include <stdint.h>

#include "line.h"

//-------------------------------------------------------------
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(array)  (sizeof(array) / sizeof((array)[0]))
#endif

#define EVENT_MAIN_QUIT  'Q'  // Close event to pick up
#define EVENT_MAIN_LINE  'E'  // Line event to pick up

//-------------------------------------------------------------
extern int picoBase;  // libpicoevent main loop base

//-------------------------------------------------------------
int send_event_main(struct line_event_t *ev, char x);

#endif
