2 * Copyright (C) 2012, 2013 Intel Corporation.
4 * This file is part of Rygel.
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.
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.
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.
21 #ifndef __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__
22 #define __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__
25 #include <glib-object.h>
26 #include <rygel-renderer.h>
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))
38 typedef struct _RygelPlaybinRenderer RygelPlaybinRenderer;
39 typedef struct _RygelPlaybinRendererClass RygelPlaybinRendererClass;
40 typedef struct _RygelPlaybinRendererPrivate RygelPlaybinRendererPrivate;
42 struct _RygelPlaybinRenderer {
43 RygelMediaRenderer parent_instance;
44 RygelPlaybinRendererPrivate *priv;
47 struct _RygelPlaybinRendererClass {
48 RygelMediaRendererClass parent_class;
52 rygel_playbin_renderer_get_type (void) G_GNUC_CONST;
54 RygelPlaybinRenderer *
55 rygel_playbin_renderer_new (const gchar *title);
58 rygel_playbin_renderer_get_playbin (RygelPlaybinRenderer *self);
62 #endif /* __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_RENDERER_H__ */