Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
configdb.h
Go to the documentation of this file.
1 /* Minimalistic Enterprise-128 emulator with focus on "exotic" hardware
2  Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3  Copyright (C)2015-2017,2020-2021 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18 
19 #ifndef XEMU_EP128_CONFIGDB_H_INCLUDED
20 #define XEMU_EP128_CONFIGDB_H_INCLUDED
21 
22 /* Important WARNING:
23  * This is a trap! If you have something here with '#ifdef', it's quite possible that the macro is
24  * not defined here, but defined elsewhere, thus the emulator sees totally different structs for
25  * real but the problem is hidden! That is, be very careful at configdb_st (the type definition
26  * itself also at the usage!) that should be only dependent on macros defined in xemu-target.h,
27  * since that header file is always included by the build system, at command line level. */
28 
29 #include "xemu/emutools.h"
30 #include "xemu/emutools_config.h"
31 #include "configdb.h"
32 
33 struct configdb_st {
34  int sdlrenderquality;
36  int skiplogo;
37  double clock;
38  int syscon, audio;
39  int mousemode;
40  int primo;
41  int monitor;
44  char *snapshot;
45  char *sdimg;
46  char *filedir;
47  char *ddn;
48  char *printfile;
49  char *wd_img_path;
50 };
51 
52 extern struct configdb_st configdb;
53 
54 extern void configdb_define_emulator_options ( void );
55 
56 #endif
configdb_st::printfile
char * printfile
Definition: configdb.h:48
configdb_st::fullscreen_requested
int fullscreen_requested
Definition: configdb.h:35
emutools.h
configdb_st::monitor
int monitor
Definition: configdb.h:41
configdb_st::audio
int audio
Definition: configdb.h:38
configdb_st::clock
double clock
Definition: configdb.h:37
configdb_st::snapshot
char * snapshot
Definition: configdb.h:44
configdb_st::skiplogo
int skiplogo
Definition: configdb.h:36
configdb_st::wd_img_path
char * wd_img_path
Definition: configdb.h:49
configdb_st::sdlrenderquality
int sdlrenderquality
Definition: configdb.h:35
configdb_st::filedir
char * filedir
Definition: configdb.h:46
configdb_st::ddn
char * ddn
Definition: configdb.h:47
configdb_st::ram_setup_str
char * ram_setup_str
Definition: configdb.h:42
configdb
struct configdb_st configdb
Definition: configdb.c:34
emutools_config.h
configdb.h
configdb_define_emulator_options
void configdb_define_emulator_options(void)
Definition: configdb.c:36
configdb_st::primo
int primo
Definition: configdb.h:40
configdb_st::syscon
int syscon
Definition: configdb.h:34
configdb_st::mousemode
int mousemode
Definition: configdb.h:39
configdb_st::sdimg
char * sdimg
Definition: configdb.h:45
configdb_st::gui_selection
char * gui_selection
Definition: configdb.h:43
configdb_st
Definition: configdb.h:29