1 /* 2 * Copyright © 2009 Christian Persch <chpe@src.gnome.org> 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __AR_GAME_CHOOSER_H__ 19 #define __AR_GAME_CHOOSER_H__ 20 21 #include <gtk/gtk.h> 22 23 #include "window.h" 24 25 G_BEGIN_DECLS 26 27 #define AR_TYPE_GAME_CHOOSER (ar_game_chooser_get_type()) 28 #define AR_GAME_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AR_TYPE_GAME_CHOOSER, ArGameChooser)) 29 #define AR_GAME_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AR_TYPE_GAME_CHOOSER, ArGameChooserClass)) 30 #define AR_IS_GAME_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AR_TYPE_GAME_CHOOSER)) 31 #define AR_IS_GAME_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AR_TYPE_GAME_CHOOSER)) 32 #define AR_GAME_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AR_TYPE_GAME_CHOOSER, ArGameChooserClass)) 33 34 typedef struct _ArGameChooser ArGameChooser; 35 typedef struct _ArGameChooserClass ArGameChooserClass; 36 typedef struct _ArGameChooserPrivate ArGameChooserPrivate; 37 38 GType ar_game_chooser_get_type (void); 39 40 GtkWidget *ar_game_chooser_new (AisleriotWindow *window); 41 42 G_END_DECLS 43 44 #endif /* __AR_GAME_CHOOSER_H__ */ 45