~ubuntu-branches/ubuntu/lucid/libgdata/lucid-proposed

« back to all changes in this revision

Viewing changes to gdata/media/gdata-media-credit.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-07-21 07:49:53 UTC
  • Revision ID: james.westby@ubuntu.com-20090721074953-5xapawumhib89i1t
Tags: upstream-0.4.0
Import upstream version 0.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 
2
/*
 
3
 * GData Client
 
4
 * Copyright (C) Philip Withnall 2009 <philip@tecnocode.co.uk>
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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/>.
 
18
 */
 
19
 
 
20
#ifndef GDATA_MEDIA_CREDIT_H
 
21
#define GDATA_MEDIA_CREDIT_H
 
22
 
 
23
#include <glib.h>
 
24
#include <glib-object.h>
 
25
 
 
26
#include <gdata/gdata-parsable.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
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))
 
36
 
 
37
typedef struct _GDataMediaCreditPrivate GDataMediaCreditPrivate;
 
38
 
 
39
/**
 
40
 * GDataMediaCredit:
 
41
 *
 
42
 * All the fields in the #GDataMediaCredit structure are private and should never be accessed directly.
 
43
 **/
 
44
typedef struct {
 
45
        GDataParsable parent;
 
46
        GDataMediaCreditPrivate *priv;
 
47
} GDataMediaCredit;
 
48
 
 
49
/**
 
50
 * GDataMediaCreditClass:
 
51
 *
 
52
 * All the fields in the #GDataMediaCreditClass structure are private and should never be accessed directly.
 
53
 *
 
54
 * Since: 0.4.0
 
55
 **/
 
56
typedef struct {
 
57
        /*< private >*/
 
58
        GDataParsableClass parent;
 
59
} GDataMediaCreditClass;
 
60
 
 
61
GType gdata_media_credit_get_type (void) G_GNUC_CONST;
 
62
 
 
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);
 
66
 
 
67
G_END_DECLS
 
68
 
 
69
#endif /* !GDATA_MEDIA_CREDIT_H */