2004-02-15 20:46:45 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONSOLE_H__
|
|
|
|
#define __CONSOLE_H__
|
|
|
|
|
2005-11-08 02:06:40 +00:00
|
|
|
#include <macos/types.h>
|
|
|
|
|
2004-06-22 21:21:32 +00:00
|
|
|
#include "misc.h"
|
|
|
|
#include "head.h"
|
|
|
|
|
|
|
|
extern void console_init(emile_l2_header_t* info);
|
2005-05-25 06:26:00 +00:00
|
|
|
extern inline int console_putchar(int c);
|
|
|
|
extern void console_putstring(const char *s);
|
2005-08-27 15:48:13 +00:00
|
|
|
#ifdef USE_CLI
|
|
|
|
extern int console_keypressed(int timeout);
|
|
|
|
extern int console_getchar(void);
|
2005-08-28 21:41:31 +00:00
|
|
|
extern void console_cursor_on(void);
|
|
|
|
extern void console_cursor_off(void);
|
|
|
|
extern void console_cursor_save(void);
|
|
|
|
extern void console_cursor_restore(void);
|
2005-08-27 15:48:13 +00:00
|
|
|
#endif
|
2004-02-15 20:46:45 +00:00
|
|
|
|
|
|
|
#endif
|