

/* ###-------------------------------------------------------------------### */
/*                                                                           */
/* file		: menu.h                                  		     */
/* date		: 							     */
/* author	: M. PEPE						     */
/*									     */
/*  contents	: this file ...						     */
/*									     */
/* ###-------------------------------------------------------------------### */

/* Quelques Macros */

#define MaxString 80
#define ligDepart 1
#define colDepart 1
#define ligMax 15
#define colMax 4

#define RazEcran system("clear") 
#define Beep putchar( 7 )
#define SetMode printf("\033[1m")
#define ResetMode printf("\033[0m")
#define RazFinLigne printf("\033[K")

#define gotolc(L,C) printf("\033[%d;%dH",L,C)

#define DemandeSorties printf("Give the output name.\n")
#define DemandeLibre printf("Give the root name .\n")
#define DemandeEntier printf("Give the max.\n")
#define DemandeBiblio printf("Give the library name.\n")
#define DemandeModif printf("Give the delay (en ns).\n")

#define DemandeDelai printf("Give the input name <space> and his delay \
(in ns).\n")

#define DemandeFic printf("\nGive the file name without extension\
(press <!> to Quit)\n")

#define presentSorties printf("OUTPUT and REGISTER LIST TO OPTIMIZE")
#define emploiSorties printf("Use the key 'H'/'B' for move\
.\nPress <A>dd, <D>elete, <Q>uit.")

#define presentDelai printf("INPUT LIST WITH DELAY")
#define emploiDelai printf("Use the key 'H'/'B' for move\
.\nPress <A>dd, <D>elete, <M>odify, <Q>uit.")

#define Rep printf( "( Yes/No/Quit )\n" )
#define Echap printf( "( Press <RETURN> to quit ) : " )

/* Mes Entetes */

void Continue ();

char AuVol ();
     /* lit un caractere 'au vol' au clavier et le renvoie */

struct berin *estDans();

extern struct befig *VHB_HEDFIG;

	/* fonctions de no_menu.c */
int MENU();
int lireMot();
int lireEntier();
void COPIER ();
void TRAVAIL_AUTRE ();
void SUPPRIMER ();
void  SAUVER ();
void OUTPUT_CAPA();
void INPUT_CAPA();
void FANOUT_FACTOR();
void MODIFIER ();
void PARAMETRISATION ();
void PRINCIPAL ();
