1 /****************************************************************************************
2  * Copyright (c) 2010-2012 Leo Franchi <lfranchi@kde.org>                               *
3  *                                                                                      *
4  * This program is free software; you can redistribute it and/or modify it under        *
5  * the terms of the GNU General Public License as published by the Free Software        *
6  * Foundation; either version 2 of the License, or (at your option) any later           *
7  * version.                                                                             *
8  *                                                                                      *
9  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
10  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
11  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
12  *                                                                                      *
13  * You should have received a copy of the GNU General Public License along with         *
14  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
15  ****************************************************************************************/
16 
17 #include "Song.h"
18 #include <QSharedData>
19 #include <QString>
20 
21 class DynamicPlaylistData : public QSharedData
22 {
23 public:
DynamicPlaylistData()24     DynamicPlaylistData() {}
DynamicPlaylistData(const DynamicPlaylistData & other)25     DynamicPlaylistData(const DynamicPlaylistData& other) : QSharedData(other)
26     {
27         sessionId = other.sessionId;
28         currentSong = other.currentSong;
29     }
30 
31     QByteArray sessionId;
32     Echonest::Song currentSong;
33 };
34 
35