Debian Codegraph @

src/playlist/navigators/RepeatAlbumNavigator.h

raw
1 /****************************************************************************************
2 * Copyright (c) 2008 Nikolaj Hald Nielsen <[email protected]> *
3 * Copyright (c) 2008 Soren Harward <[email protected]> *
4 * Copyright (c) 2010 Nanno Langstraat <[email protected]> *
5 * *
6 * This program is free software; you can redistribute it and/or modify it under *
7 * the terms of the GNU General Public License as published by the Free Software *
8 * Foundation; either version 2 of the License, or (at your option) version 3 or *
9 * any later version accepted by the membership of KDE e.V. (or its successor approved *
10 * by the membership of KDE e.V.), which shall act as a proxy defined in Section 14 of *
11 * version 3 of the license. *
12 * *
13 * This program is distributed in the hope that it will be useful, but WITHOUT ANY *
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
15 * PARTICULAR PURPOSE. See the GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License along with *
18 * this program. If not, see <http://www.gnu.org/licenses/>. *
19 ****************************************************************************************/
20
21 #ifndef REPEATALBUMNAVIGATOR_H
22 #define REPEATALBUMNAVIGATOR_H
23
24 #include "AlbumNavigator.h"
25
26 #include "core/meta/forward_declarations.h"
27
28 namespace Playlist
29 {
30 /**
31 Navigator which repeats one album over and over
32
33 @author Nikolaj Hald Nielsen <[email protected]>
34 @author Soren Harward <[email protected]>
35 */
36 class RepeatAlbumNavigator : public AlbumNavigator
37 {
38 Q_OBJECT
39
40 public:
41 RepeatAlbumNavigator();
42
43 private:
44 //! Override from 'AlbumNavigator'
45 void notifyAlbumsInserted( const QList<AlbumId> &insertedAlbums ) override { Q_UNUSED( insertedAlbums ); }
46
47 //! Override from 'NonlinearTrackNavigator'
48 void planOne() override;
49 };
50 }
51 #endif