1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
|
/* --------------------------------------------------------------------------
flactag -- A tagger for single album FLAC files with embedded CUE sheets
using data retrieved from the MusicBrainz service
Copyright (C) 2006 Andrew Hawkins
This file is part of flactag.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Flactag is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id$
----------------------------------------------------------------------------*/
#include "Album.h"
CAlbum::CAlbum()
: m_DiskNumber(-1)
{
}
void CAlbum::AddTrack(const CTrack& Track)
{
m_Tracks.push_back(Track);
}
void CAlbum::SetName(const CUTF8Tag& Name)
{
m_Name=Name;
}
void CAlbum::SetArtist(const CUTF8Tag& Artist)
{
m_Artist=Artist;
}
void CAlbum::SetArtistSort(const CUTF8Tag& ArtistSort)
{
m_ArtistSort=ArtistSort;
}
void CAlbum::SetASIN(const CUTF8Tag& ASIN)
{
m_ASIN=ASIN;
}
void CAlbum::SetDate(const CUTF8Tag& Date)
{
m_Date=Date;
}
void CAlbum::SetDiskNumber(int DiskNumber)
{
m_DiskNumber=DiskNumber;
}
CUTF8Tag CAlbum::Name() const
{
return m_Name;
}
CUTF8Tag CAlbum::Artist() const
{
return m_Artist;
}
CUTF8Tag CAlbum::ArtistSort() const
{
return m_ArtistSort;
}
CUTF8Tag CAlbum::Date() const
{
return m_Date;
}
std::vector<CTrack> CAlbum::Tracks() const
{
return m_Tracks;
}
CUTF8Tag CAlbum::ASIN() const
{
return m_ASIN;
}
int CAlbum::DiskNumber() const
{
return m_DiskNumber;
}
CUTF8Tag CAlbum::ArtistID() const
{
return m_ArtistID;
}
CUTF8Tag CAlbum::AlbumID() const
{
return m_AlbumID;
}
CUTF8Tag CAlbum::Status() const
{
return m_Status;
}
CUTF8Tag CAlbum::Type() const
{
return m_Type;
}
void CAlbum::SetArtistID(const CUTF8Tag& ArtistID)
{
m_ArtistID=ArtistID;
}
void CAlbum::SetAlbumID(const CUTF8Tag& AlbumID)
{
m_AlbumID=AlbumID;
}
void CAlbum::SetStatus(const CUTF8Tag& Status)
{
m_Status=Status;
}
void CAlbum::SetType(const CUTF8Tag& Type)
{
m_Type=Type;
}
void CAlbum::SetCoverArt(const CCoverArt& CoverArt)
{
m_CoverArt=CoverArt;
}
CCoverArt CAlbum::CoverArt() const
{
return m_CoverArt;
}
|