diff options
Diffstat (limited to 'gio/gmarkupencoder.h')
-rw-r--r-- | gio/gmarkupencoder.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gio/gmarkupencoder.h b/gio/gmarkupencoder.h new file mode 100644 index 000000000..2c723bb97 --- /dev/null +++ b/gio/gmarkupencoder.h @@ -0,0 +1,49 @@ +/* GIO - GLib Input, Output and Streaming Library + * + * Copyright (C) 2013 Emmanuele Bassi <ebassi@gnome.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __G_MARKUP_ENCODER_H__ +#define __G_MARKUP_ENCODER_H__ + +#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) +#error "Only <gio/gio.h> can be included directly." +#endif + +#include <gio/giotypes.h> + +G_BEGIN_DECLS + +#define G_TYPE_MARKUP_ENCODER (g_markup_encoder_get_type ()) +#define G_MARKUP_ENCODER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_MARKUP_ENCODER, GMarkupEncoder)) +#define G_IS_MARKUP_ENCODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_MARKUP_ENCODER)) +#define G_MARKUP_ENCODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_MARKUP_ENCODER, GMarkupEncoderClass)) +#define G_IS_MARKUP_ENCODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_MARKUP_ENCODER)) +#define G_MARKUP_ENCODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MARKUP_ENCODER, GMarkupEncoderClass)) + +typedef struct _GMarkupEncoderClass GMarkupEncoderClass; + +GLIB_AVAILABLE_IN_2_38 +GType g_markup_encoder_get_type (void) G_GNUC_CONST; + +GLIB_AVAILABLE_IN_2_38 +GEncoder * g_markup_encoder_new (void); + +G_END_DECLS + +#endif /* __G_MARKUP_ENCODER_H__ */ |