2018-11-16 00:42:29 +01:00
|
|
|
/*****************************************************************************\
|
|
|
|
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
|
|
|
|
This file is licensed under the Snes9x License.
|
|
|
|
For further information, consult the LICENSE file in the root directory.
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
#ifndef __GTK_S9X_H
|
|
|
|
#define __GTK_S9X_H
|
|
|
|
|
|
|
|
#include "gtk_config.h"
|
|
|
|
#include "gtk_s9xcore.h"
|
|
|
|
#include "gtk_s9xwindow.h"
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif /* HAVE_CONFIG_H */
|
|
|
|
|
|
|
|
#ifdef ENABLE_NLS
|
|
|
|
#include <libintl.h>
|
|
|
|
#define _(String) gettext(String)
|
|
|
|
#ifdef gettext_noop
|
|
|
|
#define N_(String) gettext_noop(String)
|
|
|
|
#else
|
|
|
|
#define N_(String) (String)
|
|
|
|
#endif
|
|
|
|
#else /* NLS is disabled */
|
|
|
|
#define _(String) (String)
|
|
|
|
#define N_(String) (String)
|
|
|
|
#define textdomain(String) (String)
|
|
|
|
#define gettext(String) (String)
|
|
|
|
#define dgettext(Domain,String) (String)
|
|
|
|
#define dcgettext(Domain,String,Type) (String)
|
|
|
|
#define bindtextdomain(Domain,Directory) (Domain)
|
|
|
|
#define bind_textdomain_codeset(Domain,Codeset) (Codeset)
|
|
|
|
#endif /* ENABLE_NLS */
|
|
|
|
|
2018-10-28 22:55:33 +01:00
|
|
|
#define SNES9X_GTK_AUTHORS "(c) 2007 - 2018 Brandon Wright (bearoso@gmail.com)"
|
|
|
|
#define SNES9X_GTK_VERSION "86"
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
extern Snes9xWindow *top_level;
|
|
|
|
extern Snes9xConfig *gui_config;
|
|
|
|
|
|
|
|
int S9xOpenROM (const char *filename);
|
2018-10-28 22:55:33 +01:00
|
|
|
void S9xNoROMLoaded ();
|
|
|
|
void S9xROMLoaded ();
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
#endif /* __GTK_S9X_H */
|