3
* Copyright (C) 2011 Carlos Garcia Campos <carlosgc@gnome.org>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef __GXPS_PNG_WRITER_H__
21
#define __GXPS_PNG_WRITER_H__
23
#include <glib-object.h>
24
#include "gxps-image-writer.h"
28
#define GXPS_TYPE_PNG_WRITER (gxps_png_writer_get_type ())
29
#define GXPS_PNG_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GXPS_TYPE_PNG_WRITER, GXPSPngWriter))
30
#define GXPS_PNG_WRITER_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST (cls, GXPS_TYPE_PNG_WRITER, GXPSPngWriterClass))
31
#define GXPS_IS_PNG_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GXPS_TYPE_PNG_WRITER))
32
#define GXPS_IS_PNG_WRITER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE (obj, GXPS_TYPE_PNG_WRITER))
33
#define GXPS_PNG_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXPS_TYPE_PNG_WRITER, GXPSPngWriterClass))
40
typedef struct _GXPSPngWriter GXPSPngWriter;
41
typedef struct _GXPSPngWriterClass GXPSPngWriterClass;
43
GType gxps_png_writer_get_type (void);
44
GXPSImageWriter *gxps_png_writer_new (GXPSPngFormat format);
49
#endif /* __GXPS_PNG_WRITER_H__ */