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:
@@ -21,12 +21,19 @@
|
||||
#define MPD_SONG_PRINT_HXX
|
||||
|
||||
struct Song;
|
||||
class DetachedSong;
|
||||
class Client;
|
||||
|
||||
void
|
||||
song_print_info(Client &client, const DetachedSong &song);
|
||||
|
||||
void
|
||||
song_print_info(Client &client, const Song &song);
|
||||
|
||||
void
|
||||
song_print_uri(Client &client, const Song &song);
|
||||
|
||||
void
|
||||
song_print_uri(Client &client, const DetachedSong &song);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user