1 /*
2  * console.c - SDL specific console access interface.
3  *
4  * Written by
5  *  Hannu Nuotio <hannu.nuotio@tut.fi>
6  *
7  * Based on code by
8  *  Andreas Boose <viceteam@t-online.de>
9  *
10  * This file is part of VICE, the Versatile Commodore Emulator.
11  * See README for copyright notice.
12  *
13  *  This program is free software; you can redistribute it and/or modify
14  *  it under the terms of the GNU General Public License as published by
15  *  the Free Software Foundation; either version 2 of the License, or
16  *  (at your option) any later version.
17  *
18  *  This program is distributed in the hope that it will be useful,
19  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  *  GNU General Public License for more details.
22  *
23  *  You should have received a copy of the GNU General Public License
24  *  along with this program; if not, write to the Free Software
25  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26  *  02111-1307  USA.
27  *
28  */
29 
30 #include "vice.h"
31 
32 #include <stdio.h>
33 
34 #include "console.h"
35 
native_console_init(void)36 int native_console_init(void)
37 {
38     return 0;
39 }
40 
native_console_in(console_t * log,const char * prompt)41 char *native_console_in(console_t *log, const char *prompt)
42 {
43     return NULL;
44 }
45 
native_console_out(console_t * log,const char * format,...)46 int native_console_out(console_t *log, const char *format, ...)
47 {
48 #ifdef DEBUG_CONSOLE
49     fprintf(stderr, "%s - remove this\n", __func__);
50 #endif
51     return 0;
52 }
53 
native_console_petscii_out(console_t * log,const char * format,...)54 int native_console_petscii_out(console_t *log, const char *format, ...)
55 {
56 #ifdef DEBUG_CONSOLE
57     fprintf(stderr, "%s - remove this\n", __func__);
58 #endif
59     return 0;
60 }
61 
native_console_close_all(void)62 int native_console_close_all(void)
63 {
64     return 0;
65 }
66 
native_console_open(const char * id)67 console_t *native_console_open(const char *id)
68 {
69     return NULL;
70 }
71 
native_console_close(console_t * log)72 int native_console_close(console_t *log)
73 {
74     return 0;
75 }
76