From f5ae1ce00b85699291a7cdf9782574e70a8c28f5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 19 Jan 2014 10:51:34 +0100 Subject: LightSong: new class to be used by DatabasePlugin callbacks Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. --- src/SongPrint.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/SongPrint.hxx') diff --git a/src/SongPrint.hxx b/src/SongPrint.hxx index 7bbf6e19c..16a9ee6ff 100644 --- a/src/SongPrint.hxx +++ b/src/SongPrint.hxx @@ -20,7 +20,7 @@ #ifndef MPD_SONG_PRINT_HXX #define MPD_SONG_PRINT_HXX -struct Song; +struct LightSong; class DetachedSong; class Client; @@ -28,10 +28,10 @@ void song_print_info(Client &client, const DetachedSong &song); void -song_print_info(Client &client, const Song &song); +song_print_info(Client &client, const LightSong &song); void -song_print_uri(Client &client, const Song &song); +song_print_uri(Client &client, const LightSong &song); void song_print_uri(Client &client, const DetachedSong &song); -- cgit v1.2.3