1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * gsf-output-gnomevfs.h: gnomevfs based output
5 * Copyright (C) 2002-2003 Dom Lachowicz (cinamod@hotmail.com)
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_OUTPUT_GNOMEVFS_H
23 #define GSF_OUTPUT_GNOMEVFS_H
25 #include <gsf/gsf-output.h>
27 #ifndef LIBGSF_GNOMEVFS_VIA_GIO
29 * The installed version will always do this. For our emulation layer, we
32 #include <libgnomevfs/gnome-vfs.h>
37 #define GSF_OUTPUT_GNOMEVFS_TYPE (gsf_output_gnomevfs_get_type ())
38 #define GSF_OUTPUT_GNOMEVFS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_GNOMEVFS_TYPE, GsfOutputGnomeVFS))
39 #define GSF_IS_OUTPUT_GNOMEVFS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_GNOMEVFS_TYPE))
41 typedef struct _GsfOutputGnomeVFS GsfOutputGnomeVFS;
43 GType gsf_output_gnomevfs_get_type (void);
44 GsfOutput *gsf_output_gnomevfs_new (char const *filename, GError **err);
45 GsfOutput *gsf_output_gnomevfs_new_uri (GnomeVFSURI * uri, GError **err);
49 #endif /* GSF_OUTPUT_GNOMEVFS_H */