~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to metadata/sj-metadata-musicbrainz.h

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * sj-metadata-musicbrainz.h
 
3
 * Copyright (C) 2003 Ross Burton <ross@burtonini.com>
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Library General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Library General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Library General Public
 
16
 * License along with this library; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#ifndef SJ_METADATA_MUSICBRAINZ_H
 
22
#define SJ_METADATA_MUSICBRAINZ_H
 
23
 
 
24
#include <glib-object.h>
 
25
#include "sj-metadata.h"
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define SJ_TYPE_METADATA_MUSICBRAINZ            (sj_metadata_get_type ())
 
30
#define SJ_METADATA_MUSICBRAINZ(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SJ_TYPE_METADATA_MUSICBRAINZ, SjMetadataMusicbrainz))
 
31
#define SJ_METADATA_MUSICBRAINZ_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), SJ_TYPE_METADATA_MUSICBRAINZ, SjMetadataMusicbrainzClass))
 
32
#define SJ_IS_METADATA_MUSICBRAINZ(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SJ_TYPE_METADATA_MUSICBRAINZ))
 
33
#define SJ_IS_METADATA_MUSICBRAINZ_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), SJ_TYPE_METADATA_MUSICBRAINZ))
 
34
#define SJ_METADATA_MUSICBRAINZ_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SJ_TYPE_METADATA_MUSICBRAINZ, SjMetadataMusicbrainzClass))
 
35
 
 
36
typedef struct _SjMetadataMusicbrainz SjMetadataMusicbrainz; /* dummy object */
 
37
typedef struct _SjMetadataMusicbrainzClass SjMetadataMusicbrainzClass;
 
38
typedef struct SjMetadataMusicbrainzPrivate SjMetadataMusicbrainzPrivate;
 
39
 
 
40
struct _SjMetadataMusicbrainz
 
41
{
 
42
  GObject parent;
 
43
  SjMetadataMusicbrainzPrivate *priv;
 
44
};
 
45
 
 
46
struct _SjMetadataMusicbrainzClass
 
47
{
 
48
  GObjectClass parent;
 
49
};
 
50
 
 
51
GType sj_metadata_musicbrainz_get_type (void);
 
52
 
 
53
GObject *sj_metadata_musicbrainz_new (void);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif /* SJ_METADATA_MUSICBRAINZ_H */