Switch to unified view

a/libupnpp/control/mediarenderer.hxx b/libupnpp/control/mediarenderer.hxx
...
...
22
22
23
#include "libupnpp/control/device.hxx"
23
#include "libupnpp/control/device.hxx"
24
#include "libupnpp/control/description.hxx"
24
#include "libupnpp/control/description.hxx"
25
#include "libupnpp/control/renderingcontrol.hxx"
25
#include "libupnpp/control/renderingcontrol.hxx"
26
#include "libupnpp/control/avtransport.hxx"
26
#include "libupnpp/control/avtransport.hxx"
27
#include "libupnpp/control/ohproduct.hxx"
27
28
28
namespace UPnPClient {
29
namespace UPnPClient {
29
30
30
class MediaRenderer;
31
class MediaRenderer;
31
typedef std::shared_ptr<MediaRenderer> MRDH;
32
typedef std::shared_ptr<MediaRenderer> MRDH;
...
...
34
public:
35
public:
35
    MediaRenderer(const UPnPDeviceDesc& desc);
36
    MediaRenderer(const UPnPDeviceDesc& desc);
36
37
37
    RDCH rdc() {return m_rdc;}
38
    RDCH rdc() {return m_rdc;}
38
    AVTH avt() {return m_avt;}
39
    AVTH avt() {return m_avt;}
40
    OHPRH ohpr() {return m_ohpr;}
41
42
    bool hasOpenHome();
39
43
40
    static bool getDeviceDescs(std::vector<UPnPDeviceDesc>& devices,
44
    static bool getDeviceDescs(std::vector<UPnPDeviceDesc>& devices,
41
                               const std::string& friendlyName = "");
45
                               const std::string& friendlyName = "");
42
    static bool hasOpenHome(const UPnPDeviceDesc& device);
43
    static bool isMRDevice(const std::string& devicetype);
46
    static bool isMRDevice(const std::string& devicetype);
44
47
45
protected:
48
protected:
46
    RDCH m_rdc;
49
    RDCH m_rdc;
47
    AVTH m_avt;
50
    AVTH m_avt;
51
    OHPRH m_ohpr;
48
52
49
    static const std::string DType;
53
    static const std::string DType;
50
};
54
};
51
55
52
}
56
}