From ba161ec572b98d3bcf9f735ff122133319fe896a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Jul 2013 13:25:12 +0200 Subject: song: convert header to C++ --- src/PlaylistPlugin.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/PlaylistPlugin.hxx') diff --git a/src/PlaylistPlugin.hxx b/src/PlaylistPlugin.hxx index d422106bb..56adceedc 100644 --- a/src/PlaylistPlugin.hxx +++ b/src/PlaylistPlugin.hxx @@ -28,6 +28,7 @@ struct config_param; struct input_stream; struct tag; +struct Song; /** * An object which provides the contents of a playlist. @@ -78,7 +79,7 @@ struct playlist_plugin { void (*close)(struct playlist_provider *playlist); - struct song *(*read)(struct playlist_provider *playlist); + Song *(*read)(struct playlist_provider *playlist); const char *const*schemes; const char *const*suffixes; @@ -132,7 +133,7 @@ playlist_plugin_close(struct playlist_provider *playlist) playlist->plugin->close(playlist); } -static inline struct song * +static inline Song * playlist_plugin_read(struct playlist_provider *playlist) { return playlist->plugin->read(playlist); -- cgit v1.2.3