filename | src/gui_none.c |
changeset | 1239:be3121267597 |
author | nkeynes |
date | Tue Feb 28 18:22:52 2012 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Add a GL-only video driver for android usage (since the Java code is responsible for creating the context) |
view | annotate | diff | log | raw |
1 /**
2 * $Id$
3 *
4 * Dummy GUI implementation for headless systems.
5 *
6 * Copyright (c) 2012 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #include "gui.h"
21 gboolean gui_parse_cmdline( int *argc, char **argv[] )
22 {
23 return TRUE;
24 }
26 gboolean gui_init( gboolean debug, gboolean fullscreen )
27 {
28 return TRUE;
29 }
31 void gui_main_loop( gboolean run ) {
32 if( run ) {
33 dreamcast_run();
34 }
35 }
37 gboolean gui_error_dialog( const char *fmt, ... )
38 {
39 return TRUE;
40 }
42 void gui_update_state()
43 {
44 }
46 void gui_set_use_grab( gboolean grab )
47 {
48 }
50 void gui_update_io_activity( io_activity_type activity, gboolean active )
51 {
52 }
54 void gui_do_later( do_later_callback_t func )
55 {
56 func();
57 }
.