Skip to content
Snippets Groups Projects
Commit e62737d3 authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

IAlbumTrack: remove unused header

parent 24ae30be
No related branches found
No related tags found
No related merge requests found
/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015-2019 Hugo Beauzée-Luyssen, Videolabs, VideoLAN
*
* Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program 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 Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef IALBUMTRACK_H
#define IALBUMTRACK_H
#include "IMediaLibrary.h"
namespace medialibrary
{
class IAlbumTrack
{
public:
virtual ~IAlbumTrack() = default;
virtual int64_t id() const = 0;
/**
* @brief artist Returns the artist, as tagged in the media.
* This can be different from the associated media's artist.
* For instance, in case of a featuring, Media::artist() might return
* "Artist 1", while IAlbumTrack::artist() might return something like
* "Artist 1 featuring Artist 2 and also artist 3 and a whole bunch of people"
* @return
*/
virtual ArtistPtr artist() const = 0;
virtual int64_t artistId() const = 0;
virtual GenrePtr genre() = 0;
virtual int64_t genreId() const = 0;
virtual unsigned int trackNumber() const = 0;
virtual AlbumPtr album() = 0;
virtual int64_t albumId() const = 0;
/**
* @return Which disc this tracks appears on (or 0 if unspecified)
*/
virtual unsigned int discNumber() const = 0;
};
}
#endif // IALBUMTRACK_H
medialib_headers = [
'IAlbum.h',
'IAlbumTrack.h',
'IArtist.h',
'IAudioTrack.h',
'IBookmark.h',
......
......@@ -32,7 +32,6 @@
#include "medialibrary/IAlbum.h"
#include "medialibrary/IArtist.h"
#include "medialibrary/IMedia.h"
#include "medialibrary/IAlbumTrack.h"
#include "medialibrary/IAudioTrack.h"
#include "medialibrary/IVideoTrack.h"
#include "medialibrary/IGenre.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment