diff options
Diffstat (limited to 'decode_converter.h')
-rw-r--r-- | decode_converter.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/decode_converter.h b/decode_converter.h new file mode 100644 index 0000000..47106c9 --- /dev/null +++ b/decode_converter.h @@ -0,0 +1,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 |