2
* Copyright (C) 2011 Tuomo Penttinen, all rights reserved.
4
* Author: Tuomo Penttinen <tp@herqq.org>
6
* This file is part of Herqq UPnP Av (HUPnPAv) library.
8
* Herqq UPnP Av is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
13
* Herqq UPnP Av is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with Herqq UPnP Av. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef HABSTRACT_CDS_DATASOURCE_P_H_
23
#define HABSTRACT_CDS_DATASOURCE_P_H_
28
// This file is not part of public API and it should
29
// never be included in client code. The contents of this file may
30
// change or the file may be removed without of notice.
33
#include <HUpnpAv/HAbstractCdsDataSource>
35
#include <QtCore/QHash>
36
#include <QtCore/QString>
37
#include <QtCore/QScopedPointer>
51
class H_UPNP_AV_EXPORT HAbstractCdsDataSourcePrivate
53
H_DISABLE_COPY(HAbstractCdsDataSourcePrivate)
54
H_DECLARE_PUBLIC(HAbstractCdsDataSource)
58
QScopedPointer<HCdsDataSourceConfiguration> m_configuration;
59
QHash<QString, HObject*> m_objectsById;
61
QHash<QString, QSet<QString>*> m_objectIdsByParentId;
65
HAbstractCdsDataSource* q_ptr;
69
HAbstractCdsDataSourcePrivate();
70
HAbstractCdsDataSourcePrivate(const HCdsDataSourceConfiguration&);
71
virtual ~HAbstractCdsDataSourcePrivate();
74
bool add(HObject*, HAbstractCdsDataSource::AddFlag addFlag);
81
#endif /* HABSTRACT_CDS_DATASOURCE_P_H_ */