Switch to unified view

a/src/ohproduct.hxx b/src/ohproduct.hxx
...
...
22
22
23
#include "libupnpp/device/device.hxx"   // for UpnpService
23
#include "libupnpp/device/device.hxx"   // for UpnpService
24
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
24
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
25
25
26
class UpMpd;
26
class UpMpd;
27
class SenderReceiver;
28
using namespace UPnPP;
27
using namespace UPnPP;
29
28
30
class OHProduct : public UPnPProvider::UpnpService {
29
class OHProduct : public UPnPProvider::UpnpService {
31
public:
30
public:
32
    OHProduct(UpMpd *dev, const std::string& friendlyname, bool hasRcv);
31
    OHProduct(UpMpd *dev, const std::string& friendlyname);
33
    virtual ~OHProduct();
32
    virtual ~OHProduct();
34
    
33
    
35
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
34
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
36
                              std::vector<std::string>& values);
35
                              std::vector<std::string>& values);
37
    int iSetSourceIndex(int index);
36
    int iSetSourceIndex(int index);
...
...
52
    int sourceXMLChangeCount(const SoapIncoming& sc, SoapOutgoing& data);
51
    int sourceXMLChangeCount(const SoapIncoming& sc, SoapOutgoing& data);
53
52
54
    int iSrcNameToIndex(const std::string& nm);
53
    int iSrcNameToIndex(const std::string& nm);
55
    
54
    
56
    UpMpd *m_dev;
55
    UpMpd *m_dev;
57
    SenderReceiver *m_sndrcv;
58
    std::string m_roomOrName;
56
    std::string m_roomOrName;
59
    int m_sourceIndex;
57
    int m_sourceIndex;
60
    bool m_standby;
58
    bool m_standby;
61
};
59
};
62
60