1 /* -*- c-basic-offset: 2 -*-
3 * Copyright (C) <2004> Thomas Vander Stichele <thomas at apestaart dot org>
4 * Copyright (C) <2008> Vincent Penquerc'h <ogg.k.ogg.k at googlemail dot com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
23 #ifndef __GST_KATE_PARSE_H__
24 #define __GST_KATE_PARSE_H__
28 #include <kate/kate.h>
31 #define GST_TYPE_KATE_PARSE \
32 (gst_kate_parse_get_type())
33 #define GST_KATE_PARSE(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_KATE_PARSE,GstKateParse))
35 #define GST_KATE_PARSE_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_KATE_PARSE,GstKateParseClass))
37 #define GST_IS_KATE_PARSE(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_KATE_PARSE))
39 #define GST_IS_KATE_PARSE_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_KATE_PARSE))
41 typedef struct _GstKateParse GstKateParse;
42 typedef struct _GstKateParseClass GstKateParseClass;
47 * Opaque data structure.
57 gboolean streamheader_sent;
67 struct _GstKateParseClass
69 GstElementClass parent_class;
71 /* virtual functions */
72 GstFlowReturn (*parse_packet) (GstKateParse * parse, GstBuffer * buf);
75 GType gst_kate_parse_get_type (void);
78 #endif /* __GST_KATE_PARSE_H__ */