summaryrefslogtreecommitdiff
path: root/decode_converter.h
blob: 47106c959bb709bfe21d96236554d5ace4fdb0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _DECODE_CONVERTER_H_
#define _DECODE_CONVERTER_H_

#include "decoder.h"

#include <glib-object.h>

#define CONVERTER_TYPE_DECODE				(decode_converter_get_type())
#define DECODE_CONVERTER(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), CONVERTER_TYPE_DECODE, DecodeConverter))
#define CONVERTER_IS_DECODE(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), CONVERTER_TYPE_DECODE))
#define DECODE_CONVERTER_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), CONVERTER_TYPE_DECODE, DecodeConverterClass))
#define CONVERTER_IS_DECODE_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE((klass), CONVERTER_TYPE_DECODE))
#define DECODE_CONVERTER_GET_CLASS(obj)		(G_TYPE_INSTANCE_GET_CLASS((obj), CONVERTER_TYPE_DECODE, DecodeConverterClass))

typedef struct _DecodeConverter DecodeConverter;
typedef struct _DecodeConverterClass DecodeConverterClass;

struct _DecodeConverter {
	GObject parent_instance;

	struct decoder decoder;
};

struct _DecodeConverterClass {
	GObjectClass parent_class;
};

GType decode_converter_get_type();
DecodeConverter *decode_converter_new(const struct decoder_plugin *decoder_plugin);

#endif