* Minor fixes in database storage
[someplayer] / src / playlist.h
index 6898eae..5c3ecde 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef PLAYLIST
 #define PLAYLIST
 
-#include <QString>
-#include <QList>
 #include "track.h"
 #include "someplayer.h"
 
@@ -13,9 +11,12 @@ namespace SomePlayer {
                class Playlist {
                public:
                        Playlist();
+                       Playlist(const Playlist &playlist);
+
+                       Playlist &operator=(const Playlist &playlist);
 
                        QString name() const;
-                       QList<Track> tracks() const;
+                       const QList<Track> &tracks() const;
 
                        void setName(QString name);
                        void addTrack(Track track);