"Initial commit to Gerrit"
[profile/ivi/libgsf.git] / gsf / gsf-output-iconv.h
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * gsf-output-iconv.h: wrapper to convert character sets.
4  *
5  * Copyright (C) 2005-2006 Morten Welinder (terra@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_OUTPUT_ICONV_H
23 #define GSF_OUTPUT_ICONV_H
24
25 #include <gsf/gsf-output.h>
26
27 G_BEGIN_DECLS
28
29 typedef struct {
30         GsfOutputClass output_class;
31 } GsfOutputIconvClass;
32
33 #define GSF_OUTPUT_ICONV_TYPE        (gsf_output_iconv_get_type ())
34 #define GSF_OUTPUT_ICONV(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_ICONV_TYPE, GsfOutputIconv))
35 #define GSF_IS_OUTPUT_ICONV(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_ICONV_TYPE))
36
37 typedef struct _GsfOutputIconv GsfOutputIconv;
38
39 GType gsf_output_iconv_get_type      (void) G_GNUC_CONST;
40 /* void  gsf_output_iconv_register_type (GTypeModule *module); glib dynamic types are not thread safe */
41
42 GsfOutput *gsf_output_iconv_new      (GsfOutput *sink, char const *dst, char const *src);
43
44 G_END_DECLS
45
46 #endif /* GSF_OUTPUT_ICONV_H */