EMILE/second/console.h

28 lines
575 B
C
Raw Normal View History

2004-02-15 20:46:45 +00:00
/*
*
* (c) 2004 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>
#include "misc.h"
#include "head.h"
extern void console_init(emile_l2_header_t* info);
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);
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