Update changelog
[profile/ivi/rygel-gst-0-10-fullscreen-renderer.git] / src / rygel-playbin-renderer.h
1 /*
2  * Copyright (C) 2012, 2013 Intel Corporation.
3  *
4  * This file is part of Rygel.
5  *
6  * Rygel is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * Rygel 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
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20
21 #ifndef __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__
22 #define __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__
23
24 #include <glib.h>
25 #include <glib-object.h>
26 #include <rygel-renderer.h>
27 #include <gst/gst.h>
28
29 G_BEGIN_DECLS
30
31 #define RYGEL_TYPE_PLAYBIN_RENDERER (rygel_playbin_renderer_get_type ())
32 #define RYGEL_PLAYBIN_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TYPE_PLAYBIN_RENDERER, RygelPlaybinRenderer))
33 #define RYGEL_PLAYBIN_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TYPE_PLAYBIN_RENDERER, RygelPlaybinRendererClass))
34 #define RYGEL_IS_PLAYBIN_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TYPE_PLAYBIN_RENDERER))
35 #define RYGEL_IS_PLAYBIN_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TYPE_PLAYBIN_RENDERER))
36 #define RYGEL_PLAYBIN_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TYPE_PLAYBIN_RENDERER, RygelPlaybinRendererClass))
37
38 typedef struct _RygelPlaybinRenderer RygelPlaybinRenderer;
39 typedef struct _RygelPlaybinRendererClass RygelPlaybinRendererClass;
40 typedef struct _RygelPlaybinRendererPrivate RygelPlaybinRendererPrivate;
41
42 struct _RygelPlaybinRenderer {
43   RygelMediaRenderer parent_instance;
44   RygelPlaybinRendererPrivate *priv;
45 };
46
47 struct _RygelPlaybinRendererClass {
48   RygelMediaRendererClass parent_class;
49 };
50
51 GType
52 rygel_playbin_renderer_get_type (void) G_GNUC_CONST;
53
54 RygelPlaybinRenderer *
55 rygel_playbin_renderer_new (const gchar *title);
56
57 GstElement*
58 rygel_playbin_renderer_get_playbin (RygelPlaybinRenderer *self);
59
60 G_END_DECLS
61
62 #endif /* __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__ */