File indexing completed on 2024-05-05 04:48:16

0001 /****************************************************************************************
0002  * Copyright (c) 2013 Matěj Laitl <matej@laitl.cz>                                      *
0003  *                                                                                      *
0004  * This program is free software; you can redistribute it and/or modify it under        *
0005  * the terms of the GNU General Public License as published by the Free Software        *
0006  * Foundation; either version 2 of the License, or (at your option) any later           *
0007  * version.                                                                             *
0008  *                                                                                      *
0009  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0010  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0011  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0012  *                                                                                      *
0013  * You should have received a copy of the GNU General Public License along with         *
0014  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0015  ****************************************************************************************/
0016 
0017 #ifndef AMAROKCORE_META_FORWARD_DECLARATIONS_H
0018 #define AMAROKCORE_META_FORWARD_DECLARATIONS_H
0019 
0020 #include "AmarokSharedPointer.h"
0021 
0022 #include <QList>
0023 
0024 namespace Meta
0025 {
0026     class Base;
0027     typedef AmarokSharedPointer<Base> DataPtr;
0028     typedef QList<DataPtr> DataList;
0029 
0030     class Track;
0031     typedef AmarokSharedPointer<Track> TrackPtr;
0032     typedef QList<TrackPtr> TrackList;
0033 
0034     class Artist;
0035     typedef AmarokSharedPointer<Artist> ArtistPtr;
0036     typedef QList<ArtistPtr> ArtistList;
0037 
0038     class Album;
0039     typedef AmarokSharedPointer<Album> AlbumPtr;
0040     typedef QList<AlbumPtr> AlbumList;
0041 
0042     class Genre;
0043     typedef AmarokSharedPointer<Genre> GenrePtr;
0044     typedef QList<GenrePtr> GenreList;
0045 
0046     class Composer;
0047     typedef AmarokSharedPointer<Composer> ComposerPtr;
0048     typedef QList<ComposerPtr> ComposerList;
0049 
0050     class Year;
0051     typedef AmarokSharedPointer<Year> YearPtr;
0052     typedef QList<YearPtr> YearList;
0053 
0054     class Label;
0055     typedef AmarokSharedPointer<Label> LabelPtr;
0056     typedef QList<LabelPtr> LabelList;
0057 
0058     class Statistics;
0059     typedef AmarokSharedPointer<Statistics> StatisticsPtr;
0060     typedef AmarokSharedPointer<const Statistics> ConstStatisticsPtr;
0061 
0062     class TrackEditor;
0063     typedef AmarokSharedPointer<TrackEditor> TrackEditorPtr;
0064 }
0065 
0066 #endif // AMAROKCORE_META_FORWARD_DECLARATIONS_H