File indexing completed on 2024-07-21 04:20:14

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 "port.h"
0008 #include "port_p.h"
0009 namespace PulseAudioQt
0010 {
0011 Port::Port(QObject *parent)
0012     : Profile(parent)
0013     , d(new PortPrivate(this))
0014 {
0015 }
0016 
0017 Port::~Port()
0018 {
0019     delete d;
0020 }
0021 
0022 PortPrivate::PortPrivate(Port *q)
0023     : q(q)
0024 {
0025 }
0026 
0027 PortPrivate::~PortPrivate()
0028 {
0029 }
0030 
0031 Port::Type Port::type() const
0032 {
0033     return d->m_type;
0034 }
0035 
0036 } // PulseAudioQt