1 /* Eye Of GNOME -- PNG Metadata Reader 2 * 3 * Copyright (C) 2008 The Free Software Foundation 4 * 5 * Author: Felix Riemann <friemann@svn.gnome.org> 6 * 7 * Based on the old EogMetadataReader code. 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License along 20 * with this program; if not, write to the Free Software Foundation, Inc., 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 22 */ 23 24 #ifndef _EOG_METADATA_READER_PNG_H_ 25 #define _EOG_METADATA_READER_PNG_H_ 26 27 G_BEGIN_DECLS 28 29 #define EOG_TYPE_METADATA_READER_PNG (eog_metadata_reader_png_get_type ()) 30 #define EOG_METADATA_READER_PNG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EOG_TYPE_METADATA_READER_PNG, EogMetadataReaderPng)) 31 #define EOG_METADATA_READER_PNG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EOG_TYPE_METADATA_READER_PNG, EogMetadataReaderPngClass)) 32 #define EOG_IS_METADATA_READER_PNG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EOG_TYPE_METADATA_READER_PNG)) 33 #define EOG_IS_METADATA_READER_PNG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EOG_TYPE_METADATA_READER_PNG)) 34 #define EOG_METADATA_READER_PNG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EOG_TYPE_METADATA_READER_PNG, EogMetadataReaderPngClass)) 35 36 typedef struct _EogMetadataReaderPng EogMetadataReaderPng; 37 typedef struct _EogMetadataReaderPngClass EogMetadataReaderPngClass; 38 typedef struct _EogMetadataReaderPngPrivate EogMetadataReaderPngPrivate; 39 40 struct _EogMetadataReaderPng { 41 GObject parent; 42 43 EogMetadataReaderPngPrivate *priv; 44 }; 45 46 struct _EogMetadataReaderPngClass { 47 GObjectClass parent_klass; 48 }; 49 50 G_GNUC_INTERNAL 51 GType eog_metadata_reader_png_get_type (void) G_GNUC_CONST; 52 53 G_END_DECLS 54 55 #endif /* _EOG_METADATA_READER_PNG_H_ */ 56