| 1 |
#ifndef __GTKBALLS__H |
| 2 |
#define __GTKBALLS__H |
| 3 |
|
| 4 |
#include <config.h> |
| 5 |
#include "gtkcompat.h" |
| 6 |
|
| 7 |
extern GtkWindow * main_window; |
| 8 |
|
| 9 |
#ifdef ENABLE_NLS |
| 10 |
# include <locale.h> |
| 11 |
# include <libintl.h> |
| 12 |
# define _(String) gettext (String) |
| 13 |
# ifdef gettext_noop |
| 14 |
# define N_(String) gettext_noop (String) |
| 15 |
# else |
| 16 |
# define N_(String) (String) |
| 17 |
# endif |
| 18 |
#else |
| 19 |
|
| 20 |
# define textdomain(String) (String) |
| 21 |
# define gettext(String) (String) |
| 22 |
# define dgettext(Domain,Message) (Message) |
| 23 |
# define dcgettext(Domain,Message,Type) (Message) |
| 24 |
# define bindtextdomain(Domain,Directory) (Domain) |
| 25 |
# define _(String) (String) |
| 26 |
# define N_(String) (String) |
| 27 |
#endif |
| 28 |
|
| 29 |
char * get_config_dir_file (const char * file); |
| 30 |
void new_game(void); |
| 31 |
void new_turn(gint number, gboolean first); |
| 32 |
void undo_move(GtkWidget *widget, gpointer data); |
| 33 |
gint destroy_lines(gboolean count_score); |
| 34 |
|
| 35 |
#endif |