~musicbrainz-developers/libmusicbrainz/trunk

« back to all changes in this revision

Viewing changes to include/musicbrainz4/ISRC.h

  • Committer: adhawkins
  • Date: 2011-06-30 20:11:09 UTC
  • Revision ID: svn-v4:b0b80210-5d09-0410-99dd-b4bd03f891c0:libmusicbrainz/trunk:13186
Tags: release-4.0.0beta1
Merge libmusicbrainz4 branch back into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* --------------------------------------------------------------------------
 
2
 
 
3
   libmusicbrainz4 - Client library to access MusicBrainz
 
4
 
 
5
   Copyright (C) 2011 Andrew Hawkins
 
6
 
 
7
   This file is part of libmusicbrainz4.
 
8
 
 
9
   This library is free software; you can redistribute it and/or
 
10
   modify it under the terms of v2 of the GNU Lesser General Public
 
11
   License as published by the Free Software Foundation.
 
12
 
 
13
   Flactag is distributed in the hope that it will be useful,
 
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
   Lesser General Public License for more details.
 
17
 
 
18
   You should have received a copy of the GNU Lesser General Public
 
19
   License along with this library; if not, write to the Free Software
 
20
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
21
 
 
22
     $Id$
 
23
 
 
24
----------------------------------------------------------------------------*/
 
25
 
 
26
#ifndef _MUSICBRAINZ4_ISRC_H
 
27
#define _MUSICBRAINZ4_ISRC_H
 
28
 
 
29
#include "musicbrainz4/GenericList.h"
 
30
 
 
31
#include "musicbrainz4/Recording.h"
 
32
 
 
33
#include "musicbrainz4/xmlParser.h"
 
34
 
 
35
namespace MusicBrainz4
 
36
{
 
37
        class CISRCPrivate;
 
38
        
 
39
        class CISRC
 
40
        {
 
41
        public:
 
42
                CISRC(const XMLNode& Node=XMLNode::emptyNode());
 
43
                CISRC(const CISRC& Other);
 
44
                CISRC& operator =(const CISRC& Other);
 
45
                ~CISRC();
 
46
 
 
47
                std::string ID() const;
 
48
                CGenericList<CRecording> *RecordingList() const;
 
49
 
 
50
        private:
 
51
                void Cleanup();
 
52
 
 
53
                CISRCPrivate * const m_d;
 
54
        };
 
55
}
 
56
 
 
57
std::ostream& operator << (std::ostream& os, const MusicBrainz4::CISRC& ISRC);
 
58
 
 
59
#endif