1 /* base class for all create operations
2  */
3 
4 /*
5 
6     Copyright (C) 1991-2005 The National Gallery
7 
8     This library is free software; you can redistribute it and/or
9     modify it under the terms of the GNU Lesser General Public
10     License as published by the Free Software Foundation; either
11     version 2.1 of the License, or (at your option) any later version.
12 
13     This library is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16     Lesser General Public License for more details.
17 
18     You should have received a copy of the GNU Lesser General Public
19     License along with this library; if not, write to the Free Software
20     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21     02110-1301  USA
22 
23  */
24 
25 /*
26 
27     These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
28 
29  */
30 
31 #ifndef VIPS_PCREATE_H
32 #define VIPS_PCREATE_H
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif /*__cplusplus*/
37 
38 #define VIPS_TYPE_CREATE (vips_create_get_type())
39 #define VIPS_CREATE( obj ) \
40 	(G_TYPE_CHECK_INSTANCE_CAST( (obj), \
41 		VIPS_TYPE_CREATE, VipsCreate ))
42 #define VIPS_CREATE_CLASS( klass ) \
43 	(G_TYPE_CHECK_CLASS_CAST( (klass), \
44 		VIPS_TYPE_CREATE, VipsCreateClass))
45 #define VIPS_IS_CREATE( obj ) \
46 	(G_TYPE_CHECK_INSTANCE_TYPE( (obj), VIPS_TYPE_CREATE ))
47 #define VIPS_IS_CREATE_CLASS( klass ) \
48 	(G_TYPE_CHECK_CLASS_TYPE( (klass), VIPS_TYPE_CREATE ))
49 #define VIPS_CREATE_GET_CLASS( obj ) \
50 	(G_TYPE_INSTANCE_GET_CLASS( (obj), \
51 		VIPS_TYPE_CREATE, VipsCreateClass ))
52 
53 typedef struct _VipsCreate {
54 	VipsOperation parent_instance;
55 
56 	/* All have an output image.
57 	 */
58 	VipsImage *out;
59 
60 } VipsCreate;
61 
62 typedef struct _VipsCreateClass {
63 	VipsOperationClass parent_class;
64 
65 } VipsCreateClass;
66 
67 GType vips_create_get_type( void );
68 
69 #ifdef __cplusplus
70 }
71 #endif /*__cplusplus*/
72 
73 #endif /*VIPS_PCREATE_H*/
74 
75 
76