1 /* 2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the OpenBeOS License. 4 */ 5 #ifndef CONSOLE_H 6 #define CONSOLE_H 7 8 9 #include <boot/vfs.h> 10 #include <boot/stdio.h> 11 12 #include "Handle.h" 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 extern status_t console_init(void); 20 21 extern status_t set_cursor_pos(FILE *, int x, int y); 22 extern status_t set_foreground_color(FILE *, int c); 23 extern status_t set_background_color(FILE *, int c); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif /* CONSOLE_H */ 30