From 322b0616322760dc162447563d8f4da7e024ca90 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Jan 2014 21:39:47 +0100 Subject: 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. --- src/SongPrint.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/SongPrint.hxx') diff --git a/src/SongPrint.hxx b/src/SongPrint.hxx index f8df89d38..5779af4c3 100644 --- a/src/SongPrint.hxx +++ b/src/SongPrint.hxx @@ -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 -- cgit v1.2.3