Update changelog
[profile/ivi/rygel-gst-0-10-fullscreen-renderer.git] / src / rygel-playbin-player.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_PLAYER_H__
22 #define __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_PLAYER_H__
23
24 #include <glib.h>
25 #include <glib-object.h>
26 #include <rygel-core.h>
27 #include <gst/gst.h>
28
29 G_BEGIN_DECLS
30
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))
37
38 typedef struct _RygelPlaybinPlayer RygelPlaybinPlayer;
39 typedef struct _RygelPlaybinPlayerClass RygelPlaybinPlayerClass;
40 typedef struct _RygelPlaybinPlayerPrivate RygelPlaybinPlayerPrivate;
41
42 struct _RygelPlaybinPlayer {
43   GObject parent_instance;
44   RygelPlaybinPlayerPrivate *priv;
45 };
46
47 struct _RygelPlaybinPlayerClass {
48   GObjectClass parent_class;
49 };
50
51 GType
52 rygel_playbin_player_get_type (void) G_GNUC_CONST;
53
54 RygelPlaybinPlayer* rygel_playbin_player_get_default (void);
55 GstElement* rygel_playbin_player_get_playbin (RygelPlaybinPlayer *self);
56
57 G_END_DECLS
58
59 #endif /* __RYGEL_GST_0_10_FULLSCREEN_RENDERER_PLAYBIN_PLAYER_H__ */