File indexing completed on 2024-02-25 16:35:41

0001 /*
0002     SPDX-FileCopyrightText: 2021 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 
0007 #include "indexedpulseobject.h"
0008 #include "indexedpulseobject_p.h"
0009 
0010 #include "context.h"
0011 
0012 namespace PulseAudioQt
0013 {
0014 IndexedPulseObject::IndexedPulseObject(QObject *parent)
0015     : PulseObject(parent)
0016     , d(new IndexedPulseObjectPrivate(this))
0017 {
0018 }
0019 
0020 IndexedPulseObject::~IndexedPulseObject()
0021 {
0022     delete d;
0023 }
0024 
0025 IndexedPulseObjectPrivate::IndexedPulseObjectPrivate(IndexedPulseObject *q)
0026     : q(q)
0027 {
0028 }
0029 
0030 IndexedPulseObjectPrivate::~IndexedPulseObjectPrivate()
0031 {
0032 }
0033 
0034 quint32 IndexedPulseObject::index() const
0035 {
0036     return d->m_index;
0037 }
0038 
0039 } // PulseAudioQt