aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateRemove.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
committerMax Kellermann <max@duempel.org>2013-07-28 13:25:12 +0200
commitba161ec572b98d3bcf9f735ff122133319fe896a (patch)
treea211690e3a8b7fce1fb6db540228122bead1f2bc /src/UpdateRemove.cxx
parent43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff)
downloadmpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz
mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip
song: convert header to C++
Diffstat (limited to '')
-rw-r--r--src/UpdateRemove.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx
index fa4c8e764..f9f6994b0 100644
--- a/src/UpdateRemove.cxx
+++ b/src/UpdateRemove.cxx
@@ -24,7 +24,7 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
-#include "song.h"
+#include "Song.hxx"
#include "Main.hxx"
#include "Instance.hxx"
@@ -37,7 +37,7 @@
#include <assert.h>
-static const struct song *removed_song;
+static const Song *removed_song;
static Mutex remove_mutex;
static Cond remove_cond;
@@ -53,7 +53,7 @@ song_remove_event(void)
assert(removed_song != NULL);
- uri = song_get_uri(removed_song);
+ uri = removed_song->GetURI();
g_message("removing %s", uri);
g_free(uri);
@@ -79,7 +79,7 @@ update_remove_global_init(void)
}
void
-update_remove_song(const struct song *song)
+update_remove_song(const Song *song)
{
assert(removed_song == NULL);