/* Copyright (C) 2012 Intel Corporation * * Permission to use, copy, modify, distribute, and sell this example * for any purpose is hereby granted without fee. * It is provided "as is" without express or implied warranty. */ #ifndef __RYGEL_EXAMPLE_PLAYER_H__ #define __RYGEL_EXAMPLE_PLAYER_H__ #include #include #include G_BEGIN_DECLS #define RYGEL_EXAMPLE_TYPE_PLAYER (rygel_example_player_get_type ()) #define RYGEL_EXAMPLE_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_EXAMPLE_TYPE_PLAYER, RygelExamplePlayer)) #define RYGEL_EXAMPLE_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_EXAMPLE_TYPE_PLAYER, RygelExamplePlayerClass)) #define RYGEL_EXAMPLE_IS_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_EXAMPLE_TYPE_PLAYER)) #define RYGEL_EXAMPLE_IS_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_EXAMPLE_TYPE_PLAYER)) #define RYGEL_EXAMPLE_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_EXAMPLE_TYPE_PLAYER, RygelExamplePlayerClass)) typedef struct _RygelExamplePlayer RygelExamplePlayer; typedef struct _RygelExamplePlayerClass RygelExamplePlayerClass; typedef struct _RygelExamplePlayerPrivate RygelExamplePlayerPrivate; struct _RygelExamplePlayer { GObject parent_instance; RygelExamplePlayerPrivate * priv; }; struct _RygelExamplePlayerClass { GObjectClass parent_class; }; GType rygel_example_player_get_type (void) G_GNUC_CONST; RygelExamplePlayer* rygel_example_player_new (void); G_END_DECLS #endif /* __RYGEL_EXAMPLE_PLAYER_H__ */