aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 01:12:05 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 01:12:05 +0200
commit3a2254c91f19364d41aacea442c43b00aa1175e2 (patch)
treec6774b0203db2d5b536c5df8f3604d4d3431342f /src/OutputPlugin.hxx
parent4aeec4bb60f5f7635679ecbbee1f3e046901d640 (diff)
downloadmpd-3a2254c91f19364d41aacea442c43b00aa1175e2.tar.gz
mpd-3a2254c91f19364d41aacea442c43b00aa1175e2.tar.xz
mpd-3a2254c91f19364d41aacea442c43b00aa1175e2.zip
output: convert to C++
Diffstat (limited to '')
-rw-r--r--src/OutputPlugin.hxx (renamed from src/output_plugin.h)14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/output_plugin.h b/src/OutputPlugin.hxx
index 2b71ba6a6..3839cd5b3 100644
--- a/src/output_plugin.h
+++ b/src/OutputPlugin.hxx
@@ -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
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_OUTPUT_PLUGIN_H
-#define MPD_OUTPUT_PLUGIN_H
+#ifndef MPD_OUTPUT_PLUGIN_HXX
+#define MPD_OUTPUT_PLUGIN_HXX
#include "gcc.h"
#include "gerror.h"
@@ -166,10 +166,6 @@ ao_plugin_test_default_device(const struct audio_output_plugin *plugin)
: false;
}
-#ifdef __cplusplus
-extern "C" {
-#endif
-
gcc_malloc
struct audio_output *
ao_plugin_init(const struct audio_output_plugin *plugin,
@@ -212,8 +208,4 @@ ao_plugin_cancel(struct audio_output *ao);
bool
ao_plugin_pause(struct audio_output *ao);
-#ifdef __cplusplus
-}
-#endif
-
#endif