[svn r44] Some fixes.
1 /* vim: set sw=2: -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2; c-indent-level: 2 -*- */
3 * Copyright (C) <2006> Rosfran Borges <rosfran.borges@indt.org.br>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more
16 #ifndef __GST_MYTHTV_SRC_H__
17 #define __GST_MYTHTV_SRC_H__
20 #include <gst/base/gstpushsrc.h>
23 #include <gmyth/gmyth_socket.h>
24 #include "gmyth_file_transfer.h"
25 #include "gmyth_livetv.h"
29 #define GST_TYPE_MYTHTV_SRC \
30 (gst_mythtv_src_get_type())
31 #define GST_MYTHTV_SRC(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MYTHTV_SRC,GstMythtvSrc))
33 #define GST_MYTHTV_SRC_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MYTHTV_SRC,GstMythtvSrcClass))
35 #define GST_IS_MYTHTV_SRC(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MYTHTV_SRC))
37 #define GST_IS_MYTHTV_SRC_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MYTHTV_SRC))
40 typedef struct _GstMythtvSrc GstMythtvSrc;
41 typedef struct _GstMythtvSrcClass GstMythtvSrcClass;
43 struct _GstMythtvSrc {
46 /* MythFileTransfer */
47 GMythFileTransfer *file_transfer;
49 GMythLiveTV *spawn_livetv;
68 gboolean unique_setup;
74 /* MythTV capabilities */
77 /* enable Myth TV debug messages */
78 gboolean mythtv_msgs_dbg;
80 gboolean update_prog_chain;
83 struct _GstMythtvSrcClass {
84 GstBaseSrcClass parent_class;
87 GType gst_mythtv_src_get_type (void);
91 #endif /* __GST_MYTHTV_SRC_H__ */