summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-07 21:39:47 +0100
committerMax Kellermann <max@duempel.org>2014-01-09 09:05:58 +0100
commit322b0616322760dc162447563d8f4da7e024ca90 (patch)
tree2f87cb3ce061556161797aba9f57ee08de5b9e21 /src/PlaylistFile.hxx
parent43847f2244a34064af24704aac4cfad4a3c76f7d (diff)
DetachedSong: fork of struct Song
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
Diffstat (limited to 'src/PlaylistFile.hxx')
-rw-r--r--src/PlaylistFile.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistFile.hxx b/src/PlaylistFile.hxx
index 92030b1eb..33fe00eb7 100644
--- a/src/PlaylistFile.hxx
+++ b/src/PlaylistFile.hxx
@@ -23,7 +23,7 @@
#include <vector>
#include <string>
-struct Song;
+class DetachedSong;
class PlaylistVector;
class Error;
@@ -68,7 +68,7 @@ bool
spl_remove_index(const char *utf8path, unsigned pos, Error &error);
bool
-spl_append_song(const char *utf8path, const Song &song, Error &error);
+spl_append_song(const char *utf8path, const DetachedSong &song, Error &error);
bool
spl_append_uri(const char *file, const char *utf8file, Error &error);