File indexing completed on 2024-05-26 09:28:30

0001 /*
0002     SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #include "profile.h"
0008 
0009 namespace QPulseAudio
0010 {
0011 Profile::Profile(QObject *parent)
0012     : QObject(parent)
0013     , m_name()
0014     , m_description()
0015     , m_priority(0)
0016     , m_availability(Unknown)
0017 {
0018 }
0019 
0020 Profile::~Profile() = default;
0021 
0022 QString Profile::name() const
0023 {
0024     return m_name;
0025 }
0026 
0027 QString Profile::description() const
0028 {
0029     return m_description;
0030 }
0031 
0032 quint32 Profile::priority() const
0033 {
0034     return m_priority;
0035 }
0036 
0037 Profile::Availability Profile::availability() const
0038 {
0039     return m_availability;
0040 }
0041 
0042 } // QPulseAudio