24#ifndef PHONON_AUDIOOUTPUTINTERFACE_H
25#define PHONON_AUDIOOUTPUTINTERFACE_H
27#include "phononnamespace.h"
28#include "objectdescription.h"
29#include "phonondefs.h"
47class AudioOutputInterface40
50 virtual ~AudioOutputInterface40() {}
58 virtual qreal volume()
const = 0;
68 virtual void setVolume(qreal) = 0;
74 virtual int outputDevice()
const = 0;
86 virtual bool setOutputDevice(
int) = 0;
89class AudioOutputInterface42 :
public AudioOutputInterface40
100 using AudioOutputInterface40::setOutputDevice;
134class AudioOutputInterface47 :
public AudioOutputInterface42
154 virtual void setStreamUuid(
QString uuid) = 0;
157class AudioOutputInterface49 :
public AudioOutputInterface47
167 virtual void setMuted(
bool mute) = 0;
183 virtual void mutedChanged(
bool mute) = 0;
186class AudioOutputInterface410 :
public AudioOutputInterface49
196 virtual void setCategory(Phonon::Category category) = 0;
201#ifdef PHONON_BACKEND_VERSION_4_10
203Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
208#elif defined PHONON_BACKEND_VERSION_4_9
210Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
215#elif defined PHONON_BACKEND_VERSION_4_7
217Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
222#elif defined PHONON_BACKEND_VERSION_4_2
224Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
231Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface,
"AudioOutputInterface2.phonon.kde.org")
Interface for AudioOutput objects.
Provides a tuple of enduser visible name and description.