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
98 virtual bool setOutputDevice(
const Phonon::AudioOutputDevice &) = 0;
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
202namespace Phonon {
typedef AudioOutputInterface410 AudioOutputInterface; }
203Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
204Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface42,
"3AudioOutputInterface.phonon.kde.org")
205Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface47,
"4AudioOutputInterface.phonon.kde.org")
206Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface49,
"5AudioOutputInterface.phonon.kde.org")
208#elif defined PHONON_BACKEND_VERSION_4_9
209namespace Phonon {
typedef AudioOutputInterface49 AudioOutputInterface; }
210Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
211Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface42,
"3AudioOutputInterface.phonon.kde.org")
212Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface47,
"4AudioOutputInterface.phonon.kde.org")
214Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface410,
"6AudioOutputInterface.phonon.kde.org")
215#elif defined PHONON_BACKEND_VERSION_4_7
216namespace Phonon {
typedef AudioOutputInterface47 AudioOutputInterface; }
217Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
218Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface42,
"3AudioOutputInterface.phonon.kde.org")
220Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface49,
"5AudioOutputInterface.phonon.kde.org")
221Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface410,
"6AudioOutputInterface.phonon.kde.org")
222#elif defined PHONON_BACKEND_VERSION_4_2
223namespace Phonon {
typedef AudioOutputInterface42 AudioOutputInterface; }
224Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface40,
"AudioOutputInterface2.phonon.kde.org")
226Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface47,
"4AudioOutputInterface.phonon.kde.org")
227Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface49,
"5AudioOutputInterface.phonon.kde.org")
228Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface410,
"6AudioOutputInterface.phonon.kde.org")
230namespace Phonon {
typedef AudioOutputInterface40 AudioOutputInterface; }
231Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface,
"AudioOutputInterface2.phonon.kde.org")
232Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface42,
"3AudioOutputInterface.phonon.kde.org")
233Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface47,
"4AudioOutputInterface.phonon.kde.org")
234Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface49,
"5AudioOutputInterface.phonon.kde.org")
235Q_DECLARE_INTERFACE(Phonon::AudioOutputInterface410,
"6AudioOutputInterface.phonon.kde.org")
Interface for AudioOutput objects.