output/pulse: convert to class

This commit is contained in:
Max Kellermann 2015-01-04 19:15:51 +01:00
parent f3a160038d
commit efea609dc3
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,9 @@
#define MPD_PULSE_NAME "Music Player Daemon" #define MPD_PULSE_NAME "Music Player Daemon"
struct PulseOutput { class PulseOutput {
friend struct AudioOutputWrapper<PulseOutput>;
AudioOutput base; AudioOutput base;
const char *name; const char *name;

View File

@ -20,7 +20,7 @@
#ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX #ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX
#define MPD_PULSE_OUTPUT_PLUGIN_HXX #define MPD_PULSE_OUTPUT_PLUGIN_HXX
struct PulseOutput; class PulseOutput;
class PulseMixer; class PulseMixer;
struct pa_cvolume; struct pa_cvolume;
class Error; class Error;