diff --git a/include/medialibrary/IAlbumTrack.h b/include/medialibrary/IAlbumTrack.h deleted file mode 100644 index a6ed13e90ab174c0cbcd2982592bebb10c86c579..0000000000000000000000000000000000000000 --- a/include/medialibrary/IAlbumTrack.h +++ /dev/null @@ -1,60 +0,0 @@ -/***************************************************************************** - * 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 diff --git a/include/medialibrary/meson.build b/include/medialibrary/meson.build index 0e2fb84cb0f2bca90a6870f63c0a633a8807bca0..433d4bf458355deb7eeaeff6a7d2b88862b607ea 100644 --- a/include/medialibrary/meson.build +++ b/include/medialibrary/meson.build @@ -1,6 +1,5 @@ medialib_headers = [ 'IAlbum.h', - 'IAlbumTrack.h', 'IArtist.h', 'IAudioTrack.h', 'IBookmark.h', diff --git a/test/samples/Tester.h b/test/samples/Tester.h index 326fa774597fdfdba6397f6148f5ec3ba1d5f4b1..fbabb5a83b5aac1e5ec1b942e9f7336407374b48 100644 --- a/test/samples/Tester.h +++ b/test/samples/Tester.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"