Made ChimaraPlayer class
[projects/chimara/chimara.git] / player / player.h
1 #ifndef __PLAYER_H__
2 #define __PLAYER_H__
3
4 #include <glib-object.h>
5 #include <gtk/gtk.h>
6
7 G_BEGIN_DECLS
8
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))
15
16 typedef struct _ChimaraPlayer {
17         GtkWindow parent_instance;
18         
19         /* Public pointers to widgets */
20         GtkWidget *glk, *toolbar;
21 } ChimaraPlayer;
22
23 typedef struct _ChimaraPlayerClass {
24         GtkWindowClass parent_class;
25 } ChimaraPlayerClass;
26
27 GType chimara_player_get_type(void) G_GNUC_CONST;
28 GtkWidget *chimara_player_new(void);
29
30 G_END_DECLS
31
32 #endif /* __PLAYER_H__ */