2006-12-12 James Livingston <doclivingston@gmail.com>
[rhythmbox.git] / metadata / sj-metadata-musicbrainz.h
blob4d1344c3a0b820ada66da18a5feeac217abdf74e
1 /*
2 * sj-metadata-musicbrainz.h
3 * Copyright (C) 2003 Ross Burton <ross@burtonini.com>
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.
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.
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.
21 #ifndef SJ_METADATA_MUSICBRAINZ_H
22 #define SJ_METADATA_MUSICBRAINZ_H
24 #include <glib-object.h>
25 #include "sj-metadata.h"
27 G_BEGIN_DECLS
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))
36 typedef struct _SjMetadataMusicbrainz SjMetadataMusicbrainz; /* dummy object */
37 typedef struct _SjMetadataMusicbrainzClass SjMetadataMusicbrainzClass;
38 typedef struct SjMetadataMusicbrainzPrivate SjMetadataMusicbrainzPrivate;
40 struct _SjMetadataMusicbrainz
42 GObject parent;
43 SjMetadataMusicbrainzPrivate *priv;
46 struct _SjMetadataMusicbrainzClass
48 GObjectClass parent;
51 GType sj_metadata_musicbrainz_get_type (void);
53 GObject *sj_metadata_musicbrainz_new (void);
55 G_END_DECLS
57 #endif /* SJ_METADATA_MUSICBRAINZ_H */