File indexing completed on 2024-03-24 16:14:34

0001 /*
0002     SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 #ifndef CARDPORT_H
0007 #define CARDPORT_H
0008 
0009 #include "port.h"
0010 
0011 #include <QObject>
0012 #include <pulse/introspect.h>
0013 
0014 namespace PulseAudioQt
0015 {
0016 /**
0017  * A Port associated with a Card.
0018  */
0019 class PULSEAUDIOQT_EXPORT CardPort : public Port
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     ~CardPort();
0025 
0026     void update(const pa_card_port_info *info);
0027 
0028 private:
0029     explicit CardPort(QObject *parent);
0030 
0031     friend class CardPrivate;
0032 };
0033 
0034 } // PulseAudioQt
0035 
0036 #endif