1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
5 * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
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.
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.
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
22 #ifndef GSF_INFILE_IMPL_H
23 #define GSF_INFILE_IMPL_H
26 #include <gsf/gsf-input-impl.h>
27 #include <gsf/gsf-infile.h>
36 GsfInputClass input_class;
37 int (*num_children) (GsfInfile *infile);
38 char const *(*name_by_index) (GsfInfile *infile, int i);
39 GsfInput *(*child_by_index) (GsfInfile *infile,
41 GsfInput *(*child_by_name) (GsfInfile *infile,
42 char const *name, GError **err);
45 #define GSF_INFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_INFILE_TYPE, GsfInfileClass))
46 #define GSF_IS_INFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_INFILE_TYPE))
50 #endif /* GSF_INFILE_IMPL_H */