23 #ifndef __MUSICBRAINZ3_TRACK_H__
24 #define __MUSICBRAINZ3_TRACK_H__
61 Track(
const std::string &
id = std::string(),
62 const std::string &title = std::string());
80 std::string getTitle()
const;
89 void setTitle(
const std::string &title);
103 void setArtist(
Artist *artist);
110 int getDuration()
const;
117 void setDuration(
const int duration);
139 int getNumReleases()
const;
150 Release *getRelease(
int index);
157 void addRelease(
Release *release);
171 int getReleasesOffset()
const;
180 void setReleasesOffset(
const int offset);
193 int getReleasesCount()
const;
202 void setReleasesCount(
const int count);
220 int getNumIsrcs()
const;
231 std::string getIsrc(
int index);
238 void addIsrc(
const std::string &isrc);
Represents an artist.
Definition: artist.h:46
A first-level MusicBrainz class.
Definition: entity.h:56
Represents a track.
Definition: track.h:51
std::vector< std::string > IsrcList
Definition: lists.h:84
std::vector< Release * > ReleaseList
A vector of pointers to Release objects.
Definition: lists.h:61
#define MB_API
Definition: defines.h:40
Represents a Release.
Definition: release.h:47