mirror of https://github.com/snes9xgit/snes9x.git
GTK+: Remove XML config format.
This commit is contained in:
parent
28c04cfc31
commit
0c3bc1d350
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,6 @@
|
|||
#ifndef __GTK_CONFIG_H
|
||||
#define __GTK_CONFIG_H
|
||||
|
||||
#include <libxml/parser.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
|
||||
|
@ -36,28 +35,17 @@ enum {
|
|||
class Snes9xConfig
|
||||
{
|
||||
public:
|
||||
Snes9xConfig (void);
|
||||
int load_config_file (void);
|
||||
int save_config_file (void);
|
||||
int load_defaults (void);
|
||||
void reconfigure (void);
|
||||
void rebind_keys (void);
|
||||
|
||||
/* XML parsers */
|
||||
int parse_snes9x (xmlNodePtr node);
|
||||
int parse_preferences (xmlNodePtr node);
|
||||
int parse_option (xmlNodePtr node);
|
||||
int parse_joypad (xmlNodePtr node);
|
||||
int parse_binding (xmlNodePtr node, int joypad_number);
|
||||
int parse_controls (xmlNodePtr node);
|
||||
int set_option (const char *name, const char *value);
|
||||
Snes9xConfig ();
|
||||
int load_config_file ();
|
||||
int save_config_file ();
|
||||
int load_defaults ();
|
||||
void reconfigure ();
|
||||
void rebind_keys ();
|
||||
|
||||
#ifdef USE_JOYSTICK
|
||||
void flush_joysticks (void);
|
||||
void flush_joysticks ();
|
||||
void set_joystick_mode (int mode);
|
||||
void joystick_register_centers (void);
|
||||
int parse_calibration (xmlNodePtr node);
|
||||
int parse_axis (xmlNodePtr node, int joystick_number);
|
||||
void joystick_register_centers ();
|
||||
#endif
|
||||
|
||||
/* Screen options */
|
||||
|
|
Loading…
Reference in New Issue