summaryrefslogtreecommitdiffstats
path: root/src/PulseAudioQt/server_p.h
blob: 83550b46c33a9b085fc9c545011d4bc84dbe9aba (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
/*
    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
*/
#pragma once
#include "server.h"
#include <pulse/introspect.h>

namespace PulseAudioQt
{
class ServerPrivate
{
public:
    explicit ServerPrivate(Server *q);
    virtual ~ServerPrivate();

    Server *q;

    QString m_defaultSinkName;
    QString m_defaultSourceName;
    Sink *m_defaultSink;
    Source *m_defaultSource;
    bool m_isPipeWire = false;

    void update(const pa_server_info *info);
};
}