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 #ifndef UPNPCONTROLMEDIASERVER_H
0008 #define UPNPCONTROLMEDIASERVER_H
0009 
0010 #include "upnpcontrolabstractdevice.h"
0011 
0012 #include <memory>
0013 
0014 
0015 class UpnpControlMediaServerPrivate;
0016 
0017 class UpnpControlMediaServer : public UpnpControlAbstractDevice
0018 {
0019 
0020     Q_OBJECT
0021 
0022     Q_PROPERTY(bool hasAVTransport
0023                READ hasAVTransport
0024                NOTIFY hasAVTransportChanged)
0025 
0026 public:
0027     explicit UpnpControlMediaServer(QObject *parent = nullptr);
0028 
0029     ~UpnpControlMediaServer() override;
0030 
0031     [[nodiscard]] bool hasAVTransport() const;
0032 
0033 Q_SIGNALS:
0034 
0035     void hasAVTransportChanged();
0036 
0037 protected:
0038 
0039     //void parseDeviceDescription(QIODevice *deviceDescriptionContent, const QString &fallBackURLBase) override;
0040 
0041 private:
0042 
0043     std::unique_ptr<UpnpControlMediaServerPrivate> d;
0044 
0045 };
0046 
0047 #endif // UPNPCONTROLMEDIASERVER_H