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
|
#ifndef __GTK_CONFIG_H
|
||||||
#define __GTK_CONFIG_H
|
#define __GTK_CONFIG_H
|
||||||
|
|
||||||
#include <libxml/parser.h>
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/extensions/Xrandr.h>
|
#include <X11/extensions/Xrandr.h>
|
||||||
|
|
||||||
|
@ -36,28 +35,17 @@ enum {
|
||||||
class Snes9xConfig
|
class Snes9xConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Snes9xConfig (void);
|
Snes9xConfig ();
|
||||||
int load_config_file (void);
|
int load_config_file ();
|
||||||
int save_config_file (void);
|
int save_config_file ();
|
||||||
int load_defaults (void);
|
int load_defaults ();
|
||||||
void reconfigure (void);
|
void reconfigure ();
|
||||||
void rebind_keys (void);
|
void rebind_keys ();
|
||||||
|
|
||||||
/* 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);
|
|
||||||
|
|
||||||
#ifdef USE_JOYSTICK
|
#ifdef USE_JOYSTICK
|
||||||
void flush_joysticks (void);
|
void flush_joysticks ();
|
||||||
void set_joystick_mode (int mode);
|
void set_joystick_mode (int mode);
|
||||||
void joystick_register_centers (void);
|
void joystick_register_centers ();
|
||||||
int parse_calibration (xmlNodePtr node);
|
|
||||||
int parse_axis (xmlNodePtr node, int joystick_number);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Screen options */
|
/* Screen options */
|
||||||
|
|
Loading…
Reference in New Issue