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:
@@ -24,14 +24,14 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
struct Song;
|
||||
struct queue;
|
||||
struct playlist;
|
||||
struct PlayerControl;
|
||||
class DetachedSong;
|
||||
class Error;
|
||||
|
||||
void
|
||||
playlist_print_song(FILE *fp, const Song &song);
|
||||
playlist_print_song(FILE *file, const DetachedSong &song);
|
||||
|
||||
void
|
||||
playlist_print_uri(FILE *fp, const char *uri);
|
||||
|
Reference in New Issue
Block a user