Switch to unified view

a/src/ohreceiver.hxx b/src/ohreceiver.hxx
...
...
28
#include "execmd.h"
28
#include "execmd.h"
29
29
30
using namespace UPnPP;
30
using namespace UPnPP;
31
class UpMpd;
31
class UpMpd;
32
class OHPlaylist;
32
class OHPlaylist;
33
class OHProduct;
33
34
34
class OHReceiver : public UPnPProvider::UpnpService {
35
class OHReceiver : public UPnPProvider::UpnpService {
35
public:
36
public:
36
    OHReceiver(UpMpd *dev, OHPlaylist *pl, int httpport);
37
    OHReceiver(UpMpd *dev, OHPlaylist *pl, OHProduct *pr, int httpport);
37
38
38
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
39
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
39
                              std::vector<std::string>& values);
40
                              std::vector<std::string>& values);
40
41
41
    virtual bool iStop();
42
    virtual bool iStop();
...
...
56
    std::string m_uri;
57
    std::string m_uri;
57
    std::string m_metadata;
58
    std::string m_metadata;
58
59
59
    UpMpd *m_dev;
60
    UpMpd *m_dev;
60
    OHPlaylist *m_pl;
61
    OHPlaylist *m_pl;
62
    OHProduct *m_pr;
61
63
62
    std::shared_ptr<ExecCmd> m_cmd;
64
    std::shared_ptr<ExecCmd> m_cmd;
63
    int m_httpport;
65
    int m_httpport;
64
    std::string m_httpuri;
66
    std::string m_httpuri;
65
};
67
};