diff options
Diffstat (limited to 'src/PulseAudioQt/card_p.h')
-rw-r--r-- | src/PulseAudioQt/card_p.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/PulseAudioQt/card_p.h b/src/PulseAudioQt/card_p.h new file mode 100644 index 0000000..890ba8f --- /dev/null +++ b/src/PulseAudioQt/card_p.h @@ -0,0 +1,35 @@ +/* + SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de> + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ +#ifndef CARD_P_H +#define CARD_P_H + +#include "card.h" +#include "cardport.h" +#include "profile.h" +#include <QHash> +#include <QVector> +#include <pulse/introspect.h> + +namespace PulseAudioQt +{ +class CardPrivate +{ +public: + explicit CardPrivate(Card *q); + virtual ~CardPrivate(); + + Card *q; + + void update(const pa_card_info *info); + + QString m_description; + QList<Profile *> m_profiles; + quint32 m_activeProfileIndex; + QList<CardPort *> m_ports; +}; +} + +#endif |