Switch to unified view

a/src/ohproduct.hxx b/src/ohproduct.hxx
...
...
19
19
20
#include <string>                       // for string
20
#include <string>                       // for string
21
#include <vector>                       // for vector
21
#include <vector>                       // for vector
22
22
23
#include "libupnpp/device/device.hxx"   // for UpnpService
23
#include "libupnpp/device/device.hxx"   // for UpnpService
24
#include "libupnpp/soaphelp.hxx"        // for SoapArgs, SoapData
24
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
25
25
26
class UpMpd;
26
class UpMpd;
27
27
28
using namespace UPnPP;
28
using namespace UPnPP;
29
29
...
...
32
    OHProduct(UpMpd *dev, const std::string& friendlyname, bool hasRcv);
32
    OHProduct(UpMpd *dev, const std::string& friendlyname, bool hasRcv);
33
33
34
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
34
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
35
                              std::vector<std::string>& values);
35
                              std::vector<std::string>& values);
36
private:
36
private:
37
    int manufacturer(const SoapArgs& sc, SoapData& data);
37
    int manufacturer(const SoapIncoming& sc, SoapOutgoing& data);
38
    int model(const SoapArgs& sc, SoapData& data);
38
    int model(const SoapIncoming& sc, SoapOutgoing& data);
39
    int product(const SoapArgs& sc, SoapData& data);
39
    int product(const SoapIncoming& sc, SoapOutgoing& data);
40
    int standby(const SoapArgs& sc, SoapData& data);
40
    int standby(const SoapIncoming& sc, SoapOutgoing& data);
41
    int setStandby(const SoapArgs& sc, SoapData& data);
41
    int setStandby(const SoapIncoming& sc, SoapOutgoing& data);
42
    int sourceCount(const SoapArgs& sc, SoapData& data);
42
    int sourceCount(const SoapIncoming& sc, SoapOutgoing& data);
43
    int sourceXML(const SoapArgs& sc, SoapData& data);
43
    int sourceXML(const SoapIncoming& sc, SoapOutgoing& data);
44
    int sourceIndex(const SoapArgs& sc, SoapData& data);
44
    int sourceIndex(const SoapIncoming& sc, SoapOutgoing& data);
45
    int setSourceIndex(const SoapArgs& sc, SoapData& data);
45
    int setSourceIndex(const SoapIncoming& sc, SoapOutgoing& data);
46
    int setSourceIndexByName(const SoapArgs& sc, SoapData& data);
46
    int setSourceIndexByName(const SoapIncoming& sc, SoapOutgoing& data);
47
    int source(const SoapArgs& sc, SoapData& data);
47
    int source(const SoapIncoming& sc, SoapOutgoing& data);
48
    int attributes(const SoapArgs& sc, SoapData& data);
48
    int attributes(const SoapIncoming& sc, SoapOutgoing& data);
49
    int sourceXMLChangeCount(const SoapArgs& sc, SoapData& data);
49
    int sourceXMLChangeCount(const SoapIncoming& sc, SoapOutgoing& data);
50
50
51
    UpMpd *m_dev;
51
    UpMpd *m_dev;
52
    std::string m_roomOrName;
52
    std::string m_roomOrName;
53
    int m_sourceIndex;
53
    int m_sourceIndex;
54
    bool m_standby;
54
    bool m_standby;