File indexing completed on 2024-04-28 04:49:05

0001 /*
0002    SPDX-FileCopyrightText: 2015 (c) Matthieu Gallien <matthieu_gallien@yahoo.fr>
0003 
0004    SPDX-License-Identifier: LGPL-3.0-or-later
0005  */
0006 
0007 #include "upnpcontrolmediaserver.h"
0008 #include "upnpcontrolconnectionmanager.h"
0009 
0010 class UpnpControlMediaServerPrivate
0011 {
0012 public:
0013 
0014     bool mHasAVTransport;
0015 };
0016 
0017 UpnpControlMediaServer::UpnpControlMediaServer(QObject *parent) : UpnpControlAbstractDevice(parent), d(new UpnpControlMediaServerPrivate)
0018 {
0019     d->mHasAVTransport = false;
0020 }
0021 
0022 UpnpControlMediaServer::~UpnpControlMediaServer()
0023 = default;
0024 
0025 bool UpnpControlMediaServer::hasAVTransport() const
0026 {
0027     return d->mHasAVTransport;
0028 }
0029 
0030 /*void UpnpControlMediaServer::parseDeviceDescription(QIODevice *deviceDescriptionContent, const QString &fallBackURLBase)
0031 {
0032     UpnpControlAbstractDevice::parseDeviceDescription(deviceDescriptionContent, fallBackURLBase);
0033 
0034     auto servicesList(servicesName());
0035 
0036     d->mHasAVTransport = servicesList.contains(QLatin1String("urn:schemas-upnp-org:service:AVTransport:1.0"));
0037     Q_EMIT hasAVTransportChanged();
0038 }*/
0039 
0040 #include "moc_upnpcontrolmediaserver.cpp"