2004-02-15 20:46:45 +00:00
|
|
|
/*
|
|
|
|
*
|
2007-05-30 22:05:10 +00:00
|
|
|
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
|
2004-02-15 20:46:45 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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);
|
2007-05-30 22:05:10 +00:00
|
|
|
extern void console_clear(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);
|
2007-05-30 22:05:10 +00:00
|
|
|
extern void console_video_inverse(void);
|
|
|
|
extern void console_video_normal(void);
|
2007-06-01 20:48:44 +00:00
|
|
|
extern void console_set_cursor_position(int x, int y);
|
2005-08-27 15:48:13 +00:00
|
|
|
#endif
|
2004-02-15 20:46:45 +00:00
|
|
|
|
|
|
|
#endif
|