1 /* Generated by GOB (v2.0.16)   (do not edit directly) */
2 
3 #include <glib.h>
4 #include <glib-object.h>
5 #ifndef __GLIV_IMAGE_H__
6 #define __GLIV_IMAGE_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif /* __cplusplus */
11 
12 
13 
14 #include "texture_map.h"
15 
16 
17 /*
18  * Type checking and casting macros
19  */
20 #define GLIV_TYPE_IMAGE	(gliv_image_get_type())
21 #define GLIV_IMAGE(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gliv_image_get_type(), GlivImage)
22 #define GLIV_IMAGE_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gliv_image_get_type(), GlivImage const)
23 #define GLIV_IMAGE_CLASS(klass)	G_TYPE_CHECK_CLASS_CAST((klass), gliv_image_get_type(), GlivImageClass)
24 #define GLIV_IS_IMAGE(obj)	G_TYPE_CHECK_INSTANCE_TYPE((obj), gliv_image_get_type ())
25 
26 #define GLIV_IMAGE_GET_CLASS(obj)	G_TYPE_INSTANCE_GET_CLASS((obj), gliv_image_get_type(), GlivImageClass)
27 
28 /*
29  * Main object structure
30  */
31 #ifndef __TYPEDEF_GLIV_IMAGE__
32 #define __TYPEDEF_GLIV_IMAGE__
33 typedef struct _GlivImage GlivImage;
34 #endif
35 struct _GlivImage {
36 	GObject __parent__;
37 	/*< public >*/
38 	GList * node;
39 	gint number;
40 	gchar * ident;
41 	gint width;
42 	gint height;
43 	gint nb_maps;
44 	texture_map * maps;
45 	gboolean has_alpha;
46 	gboolean first_image;
47 	gfloat initial_angle;
48 	gboolean initial_h_flip;
49 };
50 
51 /*
52  * Class definition
53  */
54 typedef struct _GlivImageClass GlivImageClass;
55 struct _GlivImageClass {
56 	GObjectClass __parent__;
57 };
58 
59 
60 /*
61  * Public methods
62  */
63 GType	gliv_image_get_type	(void) G_GNUC_CONST;
64 #line 29 "../tools/gliv-image.gob"
65 GlivImage * 	gliv_image_new	(void);
66 #line 67 "gliv-image.h"
67 
68 #ifdef __cplusplus
69 }
70 #endif /* __cplusplus */
71 
72 #endif
73