Manual: Bookmarking update (FS#11227 by Magnus Holmgren)
[kugel-rb.git] / apps / plugins / zxbox / spconf_p.h
blobfa7c587ace1ae98f7644d616a8007e22d8c415b2
1 /*
2 * Copyright (C) 1996-1998 Szeredi Miklos
3 * Email: mszeredi@inf.bme.hu
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. See the file COPYING.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef SPCONF_P_H
22 #define SPCONF_P_H
24 #include "spconf.h"
26 struct sp_options {
27 const char *option;
29 int argtype;
30 void *argvalp;
31 const char **enums;
32 int disp;
35 extern struct sp_options spcf_options[];
37 #define SA_BOOL 1
38 #define SA_INT 2
39 #define SA_STR 3
40 #define SA_ENUM 4
43 extern int showframe;
44 extern int scrmul;
45 extern int privatemap;
46 extern int use_shm;
48 extern int small_screen;
50 extern int sound_on;
51 extern int bufframes;
52 extern const char *sound_dev_name;
53 extern int sound_sample_rate;
54 extern int sound_to_autoclose;
55 extern int sound_dsp_setfrag;
57 extern int keyboard_type;
58 extern int cursor_type;
59 extern int color_type;
60 extern int pause_on_iconify;
61 extern int vga_pause_bg;
62 extern int sp_quick_load;
63 extern int sp_paused;
64 extern int load_immed;
65 extern int spt_auto_stop;
66 extern int spkb_allow_ascii;
67 extern int spkb_trueshift;
68 extern int spkb_funcshift;
70 extern void spcf_set_val(int ix, const char *val, const char *name,
71 int ctr, int fatal);
73 extern void spcf_set_color(int ix, const char *val, const char *name,
74 int ctr, int fatal);
75 extern void spcf_set_key(int ix, const char *val, const char *name,
76 int ctr, int fatal);
77 extern int spcf_match_keydef(const char *attr, const char *beg);
78 extern int spcf_parse_conf_line(char *line, char **attrp, char **valp);
81 #endif /* SPCONF_P_H */