1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * gsf-outfile-impl.h: 4 * 5 * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of version 2.1 of the GNU Lesser General Public 9 * License as published by the Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 19 * USA 20 */ 21 22 #ifndef GSF_OUTFILE_IMPL_H 23 #define GSF_OUTFILE_IMPL_H 24 25 #include <gsf/gsf-fwd.h> 26 27 G_BEGIN_DECLS 28 29 struct _GsfOutfile { 30 GsfOutput parent; 31 }; 32 33 typedef struct { 34 GsfOutputClass output_class; 35 GsfOutput *(*new_child) (GsfOutfile *outfile, 36 char const *name, gboolean is_dir, 37 char const *first_property_name, 38 va_list args); 39 } GsfOutfileClass; 40 41 #define GSF_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_OUTFILE_TYPE, GsfOutfileClass)) 42 #define GSF_IS_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_OUTFILE_TYPE)) 43 44 G_END_DECLS 45 46 #endif /* GSF_OUTFILE_IMPL_H */ 47