|
a/src/ohvolume.hxx |
|
b/src/ohvolume.hxx |
|
... |
|
... |
29 |
|
29 |
|
30 |
using namespace UPnPP;
|
30 |
using namespace UPnPP;
|
31 |
|
31 |
|
32 |
class OHVolume : public UPnPProvider::UpnpService {
|
32 |
class OHVolume : public UPnPProvider::UpnpService {
|
33 |
public:
|
33 |
public:
|
34 |
OHVolume(UpMpd *dev, UpMpdRenderCtl *ctl);
|
34 |
OHVolume(UpMpd *dev);
|
35 |
|
35 |
|
36 |
virtual bool getEventData(bool all, std::vector<std::string>& names,
|
36 |
virtual bool getEventData(bool all, std::vector<std::string>& names,
|
37 |
std::vector<std::string>& values);
|
37 |
std::vector<std::string>& values);
|
38 |
private:
|
38 |
private:
|
39 |
int characteristics(const SoapIncoming& sc, SoapOutgoing& data);
|
39 |
int characteristics(const SoapIncoming& sc, SoapOutgoing& data);
|
|
... |
|
... |
47 |
|
47 |
|
48 |
bool makestate(std::unordered_map<std::string, std::string> &st);
|
48 |
bool makestate(std::unordered_map<std::string, std::string> &st);
|
49 |
// State variable storage
|
49 |
// State variable storage
|
50 |
std::unordered_map<std::string, std::string> m_state;
|
50 |
std::unordered_map<std::string, std::string> m_state;
|
51 |
UpMpd *m_dev;
|
51 |
UpMpd *m_dev;
|
52 |
UpMpdRenderCtl *m_ctl;
|
|
|
53 |
};
|
52 |
};
|
54 |
|
53 |
|
55 |
#endif /* _OHVOLUME_H_X_INCLUDED_ */
|
54 |
#endif /* _OHVOLUME_H_X_INCLUDED_ */
|