1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Philip Withnall 2009 <philip@tecnocode.co.uk>
6
* GData Client is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
11
* GData Client 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
* Lesser General Public License for more details.
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with GData Client. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef GDATA_MEDIA_CREDIT_H
21
#define GDATA_MEDIA_CREDIT_H
24
#include <glib-object.h>
26
#include <gdata/gdata-parsable.h>
30
#define GDATA_TYPE_MEDIA_CREDIT (gdata_media_credit_get_type ())
31
#define GDATA_MEDIA_CREDIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_MEDIA_CREDIT, GDataMediaCredit))
32
#define GDATA_MEDIA_CREDIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDATA_TYPE_MEDIA_CREDIT, GDataMediaCreditClass))
33
#define GDATA_IS_MEDIA_CREDIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDATA_TYPE_MEDIA_CREDIT))
34
#define GDATA_IS_MEDIA_CREDIT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDATA_TYPE_MEDIA_CREDIT))
35
#define GDATA_MEDIA_CREDIT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDATA_TYPE_MEDIA_CREDIT, GDataMediaCreditClass))
37
typedef struct _GDataMediaCreditPrivate GDataMediaCreditPrivate;
42
* All the fields in the #GDataMediaCredit structure are private and should never be accessed directly.
46
GDataMediaCreditPrivate *priv;
50
* GDataMediaCreditClass:
52
* All the fields in the #GDataMediaCreditClass structure are private and should never be accessed directly.
58
GDataParsableClass parent;
59
} GDataMediaCreditClass;
61
GType gdata_media_credit_get_type (void) G_GNUC_CONST;
63
const gchar *gdata_media_credit_get_credit (GDataMediaCredit *self);
64
const gchar *gdata_media_credit_get_scheme (GDataMediaCredit *self);
65
const gchar *gdata_media_credit_get_role (GDataMediaCredit *self);
69
#endif /* !GDATA_MEDIA_CREDIT_H */