GTK+: Remove XML config format.

This commit is contained in:
Brandon Wright 2018-11-01 20:44:06 -05:00
parent 28c04cfc31
commit 0c3bc1d350
2 changed files with 465 additions and 1097 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 */