1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
2 | /* |
3 | * Copyright (C) 2009 Red Hat, Inc. |
4 | */ |
5 | |
6 | #ifndef __SOUP_CONTENT_DECODER_H__ |
7 | #define __SOUP_CONTENT_DECODER_H__ 1 |
8 | |
9 | #include <libsoup/soup-types.h> |
10 | #include <libsoup/soup-message-body.h> |
11 | |
12 | G_BEGIN_DECLS |
13 | |
14 | #define SOUP_TYPE_CONTENT_DECODER (soup_content_decoder_get_type ()) |
15 | #define SOUP_CONTENT_DECODER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_CONTENT_DECODER, SoupContentDecoder)) |
16 | #define SOUP_CONTENT_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_CONTENT_DECODER, SoupContentDecoderClass)) |
17 | #define SOUP_IS_CONTENT_DECODER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_CONTENT_DECODER)) |
18 | #define SOUP_IS_CONTENT_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_CONTENT_DECODER)) |
19 | #define SOUP_CONTENT_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_CONTENT_DECODER, SoupContentDecoderClass)) |
20 | |
21 | typedef struct _SoupContentDecoderPrivate SoupContentDecoderPrivate; |
22 | |
23 | typedef struct { |
24 | GObject parent; |
25 | |
26 | SoupContentDecoderPrivate *priv; |
27 | } SoupContentDecoder; |
28 | |
29 | typedef struct { |
30 | GObjectClass parent_class; |
31 | |
32 | /* Padding for future expansion */ |
33 | void (*_libsoup_reserved1) (void); |
34 | void (*_libsoup_reserved2) (void); |
35 | void (*_libsoup_reserved3) (void); |
36 | void (*_libsoup_reserved4) (void); |
37 | void (*_libsoup_reserved5) (void); |
38 | } SoupContentDecoderClass; |
39 | |
40 | SOUP_AVAILABLE_IN_2_30 |
41 | GType soup_content_decoder_get_type (void); |
42 | |
43 | G_END_DECLS |
44 | |
45 | #endif /* __SOUP_CONTENT_DECODER_H__ */ |
46 | |