|
a/src/ohproduct.hxx |
|
b/src/ohproduct.hxx |
|
... |
|
... |
18 |
#define _OHPRODUCT_H_X_INCLUDED_
|
18 |
#define _OHPRODUCT_H_X_INCLUDED_
|
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 "upmpd.hxx" // for ohProductDesc_t
|
23 |
#include "libupnpp/device/device.hxx" // for UpnpService
|
24 |
#include "libupnpp/device/device.hxx" // for UpnpService
|
24 |
#include "libupnpp/soaphelp.hxx" // for SoapIncoming, SoapOutgoing
|
25 |
#include "libupnpp/soaphelp.hxx" // for SoapIncoming, SoapOutgoing
|
25 |
|
26 |
|
26 |
#include "ohservice.hxx"
|
27 |
#include "ohservice.hxx"
|
27 |
|
28 |
|
28 |
class UpMpd;
|
29 |
class UpMpd;
|
29 |
using namespace UPnPP;
|
30 |
using namespace UPnPP;
|
30 |
|
31 |
|
31 |
class OHProduct : public OHService {
|
32 |
class OHProduct : public OHService {
|
32 |
public:
|
33 |
public:
|
33 |
OHProduct(UpMpd *dev, const std::string& friendlyname);
|
34 |
OHProduct(UpMpd *dev, ohProductDesc_t& ohProductDesc);
|
34 |
virtual ~OHProduct();
|
35 |
virtual ~OHProduct();
|
35 |
|
36 |
|
36 |
int iSetSourceIndex(int index);
|
37 |
int iSetSourceIndex(int index);
|
37 |
int iSetSourceIndexByName(const std::string& nm);
|
38 |
int iSetSourceIndexByName(const std::string& nm);
|
38 |
|
39 |
|
|
... |
|
... |
54 |
int attributes(const SoapIncoming& sc, SoapOutgoing& data);
|
55 |
int attributes(const SoapIncoming& sc, SoapOutgoing& data);
|
55 |
int sourceXMLChangeCount(const SoapIncoming& sc, SoapOutgoing& data);
|
56 |
int sourceXMLChangeCount(const SoapIncoming& sc, SoapOutgoing& data);
|
56 |
|
57 |
|
57 |
int iSrcNameToIndex(const std::string& nm);
|
58 |
int iSrcNameToIndex(const std::string& nm);
|
58 |
|
59 |
|
59 |
std::string m_roomOrName;
|
60 |
ohProductDesc_t& m_ohProductDesc;
|
60 |
int m_sourceIndex;
|
61 |
int m_sourceIndex;
|
61 |
bool m_standby;
|
62 |
bool m_standby;
|
62 |
};
|
63 |
};
|
63 |
|
64 |
|
64 |
#endif /* _OHPRODUCT_H_X_INCLUDED_ */
|
65 |
#endif /* _OHPRODUCT_H_X_INCLUDED_ */
|