summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-01-04 19:15:51 +0100
committerMax Kellermann <max@duempel.org>2015-01-04 19:46:51 +0100
commitefea609dc328a0a17bdec11586bb54041981ff62 (patch)
treef0cf64d932040423e226333d4efded2cef7cf692
parentf3a160038decadade9e223adb006ba8acc3939e7 (diff)
output/pulse: convert to class
-rw-r--r--src/output/plugins/PulseOutputPlugin.cxx4
-rw-r--r--src/output/plugins/PulseOutputPlugin.hxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx
index ae88d2134..158b36dfd 100644
--- a/src/output/plugins/PulseOutputPlugin.cxx
+++ b/src/output/plugins/PulseOutputPlugin.cxx
@@ -42,7 +42,9 @@
#define MPD_PULSE_NAME "Music Player Daemon"
-struct PulseOutput {
+class PulseOutput {
+ friend struct AudioOutputWrapper<PulseOutput>;
+
AudioOutput base;
const char *name;
diff --git a/src/output/plugins/PulseOutputPlugin.hxx b/src/output/plugins/PulseOutputPlugin.hxx
index 33f02e1a8..f193db1d8 100644
--- a/src/output/plugins/PulseOutputPlugin.hxx
+++ b/src/output/plugins/PulseOutputPlugin.hxx
@@ -20,7 +20,7 @@
#ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX
#define MPD_PULSE_OUTPUT_PLUGIN_HXX
-struct PulseOutput;
+class PulseOutput;
class PulseMixer;
struct pa_cvolume;
class Error;