aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 08:41:16 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 09:41:45 +0100
commite12cc01aa4b25798a2887ac6c5e01309e744ea8b (patch)
treecbf58024a0fb6d470a87c420ddcdf0ac2f0f15d6 /src/DecoderControl.cxx
parent71c697288b2325011f7302437aac912e88d6b6b4 (diff)
downloadmpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.tar.gz
mpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.tar.xz
mpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.zip
decoder_*: convert to C++
Diffstat (limited to '')
-rw-r--r--src/DecoderControl.cxx (renamed from src/decoder_control.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/decoder_control.c b/src/DecoderControl.cxx
index 33d4e4d44..bd075ed71 100644
--- a/src/decoder_control.c
+++ b/src/DecoderControl.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,10 +18,13 @@
*/
#include "config.h"
-#include "decoder_control.h"
-#include "pipe.h"
+#include "DecoderControl.hxx"
#include "song.h"
+extern "C" {
+#include "pipe.h"
+}
+
#include <assert.h>
#undef G_LOG_DOMAIN