4 #include <glib-object.h>
9 #define CHIMARA_TYPE_PLAYER (chimara_player_get_type())
10 #define CHIMARA_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CHIMARA_TYPE_PLAYER, ChimaraPlayer))
11 #define CHIMARA_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CHIMARA_TYPE_PLAYER, ChimaraPlayerClass))
12 #define CHIMARA_IS_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), CHIMARA_TYPE_PLAYER))
13 #define CHIMARA_IS_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), CHIMARA_TYPE_PLAYER))
14 #define CHIMARA_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), CHIMARA_TYPE_PLAYER, ChimaraPlayerClass))
16 typedef struct _ChimaraPlayer {
17 GtkWindow parent_instance;
19 /* Public pointers to widgets */
20 GtkWidget *glk, *toolbar;
23 typedef struct _ChimaraPlayerClass {
24 GtkWindowClass parent_class;
27 GType chimara_player_get_type(void) G_GNUC_CONST;
28 GtkWidget *chimara_player_new(void);
32 #endif /* __PLAYER_H__ */