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