1 /*
2    SPDX-FileCopyrightText: 2015 (c) Matthieu Gallien <matthieu_gallien@yahoo.fr>
3 
4    SPDX-License-Identifier: LGPL-3.0-or-later
5  */
6 
7 #ifndef UPNPCONTROLMEDIASERVER_H
8 #define UPNPCONTROLMEDIASERVER_H
9 
10 #include "upnpcontrolabstractdevice.h"
11 
12 #include <memory>
13 
14 
15 class UpnpControlMediaServerPrivate;
16 
17 class UpnpControlMediaServer : public UpnpControlAbstractDevice
18 {
19 
20     Q_OBJECT
21 
22     Q_PROPERTY(bool hasAVTransport
23                READ hasAVTransport
24                NOTIFY hasAVTransportChanged)
25 
26 public:
27     explicit UpnpControlMediaServer(QObject *parent = nullptr);
28 
29     ~UpnpControlMediaServer() override;
30 
31     [[nodiscard]] bool hasAVTransport() const;
32 
33 Q_SIGNALS:
34 
35     void hasAVTransportChanged();
36 
37 protected:
38 
39     //void parseDeviceDescription(QIODevice *deviceDescriptionContent, const QString &fallBackURLBase) override;
40 
41 private:
42 
43     std::unique_ptr<UpnpControlMediaServerPrivate> d;
44 
45 };
46 
47 #endif // UPNPCONTROLMEDIASERVER_H
48