aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 09:46:41 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 09:46:41 +0100
commitde0ab43bc12be345d85779e444266153ff5be007 (patch)
treece024a0c25c6fc75c65438b562b6300c06737a33 /src/OutputControl.cxx
parente12cc01aa4b25798a2887ac6c5e01309e744ea8b (diff)
downloadmpd-de0ab43bc12be345d85779e444266153ff5be007.tar.gz
mpd-de0ab43bc12be345d85779e444266153ff5be007.tar.xz
mpd-de0ab43bc12be345d85779e444266153ff5be007.zip
output_*: convert to C++
Diffstat (limited to '')
-rw-r--r--src/OutputControl.cxx (renamed from src/output_control.c)12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/output_control.c b/src/OutputControl.cxx
index 7b95be49b..36e80a014 100644
--- a/src/output_control.c
+++ b/src/OutputControl.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,14 +18,18 @@
*/
#include "config.h"
-#include "output_control.h"
+#include "OutputControl.hxx"
+#include "OutputThread.hxx"
+
+extern "C" {
#include "output_api.h"
#include "output_internal.h"
-#include "output_thread.h"
#include "mixer_control.h"
#include "mixer_plugin.h"
-#include "filter_plugin.h"
#include "notify.h"
+}
+
+#include "filter_plugin.h"
#include <assert.h>
#include <stdlib.h>