diff options
Diffstat (limited to 'pig/pig-pixbuf-loader-private.h')
-rw-r--r-- | pig/pig-pixbuf-loader-private.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pig/pig-pixbuf-loader-private.h b/pig/pig-pixbuf-loader-private.h new file mode 100644 index 0000000..bd8f49e --- /dev/null +++ b/pig/pig-pixbuf-loader-private.h @@ -0,0 +1,55 @@ +/* Pig + * Copyright (C) 2011 Benjamin Otte <otte@gnome.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PIG_PIXBUF_LOADER_PRIVATE_H__ +#define __PIG_PIXBUF_LOADER_PRIVATE_H__ + +#include <pig/pig-picture.h> + + +G_BEGIN_DECLS + +#define PIG_TYPE_PIXBUF_LOADER (_pig_pixbuf_loader_get_type ()) +#define PIG_PIXBUF_LOADER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PIG_TYPE_PIXBUF_LOADER, PigPixbufLoader)) +#define PIG_PIXBUF_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIG_TYPE_PIXBUF_LOADER, PigPixbufLoaderClass)) +#define PIG_IS_PIXBUF_LOADER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PIG_TYPE_PIXBUF_LOADER)) +#define PIG_IS_PIXBUF_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIG_TYPE_PIXBUF_LOADER)) +#define PIG_PIXBUF_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIG_TYPE_PIXBUF_LOADER, PigPixbufLoaderClass)) + +typedef struct _PigPixbufLoader PigPixbufLoader; +typedef struct _PigPixbufLoaderPrivate PigPixbufLoaderPrivate; +typedef struct _PigPixbufLoaderClass PigPixbufLoaderClass; + +struct _PigPixbufLoader { + /*< private >*/ + PigPicture parent_picture; + + PigPixbufLoaderPrivate *priv; +}; + +struct _PigPixbufLoaderClass { + /*< private >*/ + PigPictureClass parent_class; +}; + +GType _pig_pixbuf_loader_get_type (void); + +G_END_DECLS + +#endif /* __PIG_PIXBUF_LOADER_PRIVATE_H__ */ |