File indexing completed on 2024-12-01 13:02:23

0001 /*
0002     SPDX-FileCopyrightText: 2018 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 #pragma once
0007 #include "maps.h"
0008 
0009 namespace PulseAudioQt
0010 {
0011 class AbstractModelPrivate
0012 {
0013 public:
0014     explicit AbstractModelPrivate(AbstractModel *q, const MapBaseQObject *map);
0015     virtual ~AbstractModelPrivate();
0016 
0017     AbstractModel *q;
0018     const MapBaseQObject *m_map;
0019     QHash<int, QByteArray> m_roles;
0020     QHash<int, int> m_objectProperties;
0021     QHash<int, int> m_signalIndexToProperties;
0022 };
0023 
0024 class SinkModelPrivate
0025 {
0026 public:
0027     explicit SinkModelPrivate(SinkModel *q);
0028     virtual ~SinkModelPrivate();
0029 
0030     SinkModel *q;
0031     Sink *m_preferredSink;
0032 };
0033 }