File indexing completed on 2024-06-16 07:37:04

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 CARD_P_H
0007 #define CARD_P_H
0008 
0009 #include "card.h"
0010 #include "cardport.h"
0011 #include "profile.h"
0012 #include <QHash>
0013 #include <QVector>
0014 #include <pulse/introspect.h>
0015 
0016 namespace PulseAudioQt
0017 {
0018 class CardPrivate
0019 {
0020 public:
0021     explicit CardPrivate(Card *q);
0022     virtual ~CardPrivate();
0023 
0024     Card *q;
0025 
0026     void update(const pa_card_info *info);
0027 
0028     QList<Profile *> m_profiles;
0029     quint32 m_activeProfileIndex;
0030     QList<CardPort *> m_ports;
0031 };
0032 }
0033 
0034 #endif