summaryrefslogtreecommitdiffstats
path: root/src/PulseAudioQt/card_p.h
blob: 890ba8f5cf911d5e2c8c38c9b510e4dffe8e5b67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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