2 * Copyright (C) 2010 Nokia Corporation.
4 * Authors: Arun Raghavan <arun.raghavan@collabora.co.uk>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GUPNP_DLNA_PROFILE_H__
23 #define __GUPNP_DLNA_PROFILE_H__
25 #include <gst/profile/gstprofile.h>
26 #include <glib-object.h>
30 #define GUPNP_TYPE_DLNA_PROFILE gupnp_dlna_profile_get_type()
32 #define GUPNP_DLNA_PROFILE(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34 GUPNP_TYPE_DLNA_PROFILE, \
37 #define GUPNP_DLNA_PROFILE_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST ((klass), \
39 GUPNP_TYPE_DLNA_PROFILE, \
40 GUPnPDLNAProfileClass))
42 #define GUPNP_IS_DLNA_PROFILE(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GUPNP_TYPE_DLNA_PROFILE))
45 #define GUPNP_IS_DLNA_PROFILE_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE ((klass), GUPNP_TYPE_DLNA_PROFILE))
48 #define GUPNP_DLNA_PROFILE_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
50 GUPNP_TYPE_DLNA_PROFILE, \
51 GUPnPDLNAProfileClass))
58 GObjectClass parent_class;
59 } GUPnPDLNAProfileClass;
61 GType gupnp_dlna_profile_get_type (void);
63 GUPnPDLNAProfile* gupnp_dlna_profile_new (gchar *name,
65 GstEncodingProfile *enc_profile,
68 const gchar * gupnp_dlna_profile_get_name (GUPnPDLNAProfile *self);
69 const gchar * gupnp_dlna_profile_get_mime (GUPnPDLNAProfile *self);
70 const GstEncodingProfile *
71 gupnp_dlna_profile_get_encoding_profile (GUPnPDLNAProfile *self);
72 gboolean gupnp_dlna_profile_get_extended (GUPnPDLNAProfile *self);
76 #endif /* __GUPNP_DLNA_PROFILE_H__ */