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_PLAYER_H__
22 #define __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_PLAYER_H__
25 #include <glib-object.h>
26 #include <rygel-core.h>
31 #define RYGEL_TYPE_PLAYBIN_PLAYER (rygel_playbin_player_get_type ())
32 #define RYGEL_PLAYBIN_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TYPE_PLAYBIN_PLAYER, RygelPlaybinPlayer))
33 #define RYGEL_PLAYBIN_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TYPE_PLAYBIN_PLAYER, RygelPlaybinPlayerClass))
34 #define RYGEL_IS_PLAYBIN_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TYPE_PLAYBIN_PLAYER))
35 #define RYGEL_IS_PLAYBIN_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TYPE_PLAYBIN_PLAYER))
36 #define RYGEL_PLAYBIN_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TYPE_PLAYBIN_PLAYER, RygelPlaybinPlayerClass))
38 typedef struct _RygelPlaybinPlayer RygelPlaybinPlayer;
39 typedef struct _RygelPlaybinPlayerClass RygelPlaybinPlayerClass;
40 typedef struct _RygelPlaybinPlayerPrivate RygelPlaybinPlayerPrivate;
42 struct _RygelPlaybinPlayer {
43 GObject parent_instance;
44 RygelPlaybinPlayerPrivate *priv;
47 struct _RygelPlaybinPlayerClass {
48 GObjectClass parent_class;
52 rygel_playbin_player_get_type (void) G_GNUC_CONST;
54 RygelPlaybinPlayer* rygel_playbin_player_get_default (void);
55 GstElement* rygel_playbin_player_get_playbin (RygelPlaybinPlayer *self);
59 #endif /* __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_PLAYER_H__ */