Clementine-audio-player-Mac.../src/songplaylistitem.h

27 lines
476 B
C
Raw Normal View History

2009-12-24 20:16:07 +01:00
#ifndef SONGPLAYLISTITEM_H
#define SONGPLAYLISTITEM_H
#include "playlistitem.h"
#include "song.h"
class SongPlaylistItem : public PlaylistItem {
public:
SongPlaylistItem();
SongPlaylistItem(const Song& song);
Type type() const { return Type_Song; }
void Save(QSettings& settings) const;
void Restore(const QSettings& settings);
2010-01-16 17:12:47 +01:00
void Reload();
2009-12-24 20:16:07 +01:00
2009-12-29 20:22:02 +01:00
Song Metadata() const { return song_; }
2009-12-24 20:16:07 +01:00
QUrl Url();
private:
Song song_;
};
#endif // SONGPLAYLISTITEM_H