blob: 427e34e6d977379ec0d163affa047d0ba893925a (
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
36
37
|
/*
SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#include "client.h"
#include "client_p.h"
#include "debug.h"
#include "indexedpulseobject_p.h"
namespace PulseAudioQt
{
Client::Client(QObject *parent)
: IndexedPulseObject(parent)
, d(new ClientPrivate(this))
{
}
ClientPrivate::ClientPrivate(Client *q)
: q(q)
{
}
Client::~Client()
{
delete d;
}
void ClientPrivate::update(const pa_client_info *info)
{
q->IndexedPulseObject::d->updatePulseObject(info);
q->PulseObject::d->updateProperties(info);
}
} // PulseAudioQt
|