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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user