diff options
author | Max Kellermann <max@duempel.org> | 2013-01-26 01:04:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-26 01:17:43 +0100 |
commit | 86b0adc82ce64bb08518088c35ce754dc96d7062 (patch) | |
tree | c0a4c88fa599d4091cf855849382785cf0bebef8 /src/playlist/soundcloud_playlist_plugin.c | |
parent | ba49f20f685d7e6d25fcbf2af60d389fedc67210 (diff) | |
download | mpd-86b0adc82ce64bb08518088c35ce754dc96d7062.tar.gz mpd-86b0adc82ce64bb08518088c35ce754dc96d7062.tar.xz mpd-86b0adc82ce64bb08518088c35ce754dc96d7062.zip |
playlist/*: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/playlist/SoundCloudPlaylistPlugin.cxx (renamed from src/playlist/soundcloud_playlist_plugin.c) | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/playlist/soundcloud_playlist_plugin.c b/src/playlist/SoundCloudPlaylistPlugin.cxx index 7c79f880a..71a2af6cd 100644 --- a/src/playlist/soundcloud_playlist_plugin.c +++ b/src/playlist/SoundCloudPlaylistPlugin.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -18,7 +18,7 @@ */ #include "config.h" -#include "playlist/soundcloud_playlist_plugin.h" +#include "SoundCloudPlaylistPlugin.hxx" #include "conf.h" #include "input_stream.h" #include "playlist_plugin.h" @@ -434,15 +434,18 @@ static const char *const soundcloud_schemes[] = { }; const struct playlist_plugin soundcloud_playlist_plugin = { - .name = "soundcloud", + "soundcloud", - .init = soundcloud_init, - .finish = soundcloud_finish, - .open_uri = soundcloud_open_uri, - .close = soundcloud_close, - .read = soundcloud_read, + soundcloud_init, + soundcloud_finish, + soundcloud_open_uri, + nullptr, + soundcloud_close, + soundcloud_read, - .schemes = soundcloud_schemes, + soundcloud_schemes, + nullptr, + nullptr, }; |