diff options
author | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
commit | ba161ec572b98d3bcf9f735ff122133319fe896a (patch) | |
tree | a211690e3a8b7fce1fb6db540228122bead1f2bc /src/playlist/ExtM3uPlaylistPlugin.cxx | |
parent | 43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff) | |
download | mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip |
song: convert header to C++
Diffstat (limited to 'src/playlist/ExtM3uPlaylistPlugin.cxx')
-rw-r--r-- | src/playlist/ExtM3uPlaylistPlugin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playlist/ExtM3uPlaylistPlugin.cxx b/src/playlist/ExtM3uPlaylistPlugin.cxx index 923536ea9..72be308a1 100644 --- a/src/playlist/ExtM3uPlaylistPlugin.cxx +++ b/src/playlist/ExtM3uPlaylistPlugin.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "ExtM3uPlaylistPlugin.hxx" #include "PlaylistPlugin.hxx" -#include "song.h" +#include "Song.hxx" #include "tag.h" #include "util/StringUtil.hxx" #include "TextInputStream.hxx" @@ -105,14 +105,14 @@ extm3u_parse_tag(const char *line) return tag; } -static struct song * +static Song * extm3u_read(struct playlist_provider *_playlist) { ExtM3uPlaylist *playlist = (ExtM3uPlaylist *)_playlist; struct tag *tag = NULL; std::string line; const char *line_s; - struct song *song; + Song *song; do { if (!playlist->tis->ReadLine(line)) { @@ -134,7 +134,7 @@ extm3u_read(struct playlist_provider *_playlist) ++line_s; } while (line_s[0] == '#' || *line_s == 0); - song = song_remote_new(line_s); + song = Song::NewRemote(line_s); song->tag = tag; return song; } |