diff options
Diffstat (limited to 'src/PulseAudioQt/profile.cpp')
-rw-r--r-- | src/PulseAudioQt/profile.cpp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/PulseAudioQt/profile.cpp b/src/PulseAudioQt/profile.cpp new file mode 100644 index 0000000..6fb496a --- /dev/null +++ b/src/PulseAudioQt/profile.cpp @@ -0,0 +1,56 @@ +/* + SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org> + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ + +#include "profile.h" +#include "profile_p.h" + +namespace PulseAudioQt +{ +Profile::Profile(QObject *parent) + : PulseObject(parent) + , d(new ProfilePrivate(this)) +{ +} + +Profile::~Profile() +{ +} + +ProfilePrivate::ProfilePrivate(Profile *q) + : q(q) +{ +} + +ProfilePrivate::~ProfilePrivate() +{ +} + +QString Profile::description() const +{ + return d->m_description; +} + +quint32 Profile::priority() const +{ + return d->m_priority; +} + +Profile::Availability Profile::availability() const +{ + return d->m_availability; +} + +quint32 Profile::sources() const +{ + return d->m_sources; +} + +quint32 Profile::sinks() const +{ + return d->m_sinks; +} + +} // PulseAudioQt |