|
a/src/ohinfo.hxx |
|
b/src/ohinfo.hxx |
|
... |
|
... |
32 |
public:
|
32 |
public:
|
33 |
OHInfo(UpMpd *dev);
|
33 |
OHInfo(UpMpd *dev);
|
34 |
|
34 |
|
35 |
virtual bool getEventData(bool all, std::vector<std::string>& names,
|
35 |
virtual bool getEventData(bool all, std::vector<std::string>& names,
|
36 |
std::vector<std::string>& values);
|
36 |
std::vector<std::string>& values);
|
|
|
37 |
void setMetatext(const std::string& metatext);
|
37 |
private:
|
38 |
private:
|
38 |
int counters(const SoapIncoming& sc, SoapOutgoing& data);
|
39 |
int counters(const SoapIncoming& sc, SoapOutgoing& data);
|
39 |
int track(const SoapIncoming& sc, SoapOutgoing& data);
|
40 |
int track(const SoapIncoming& sc, SoapOutgoing& data);
|
40 |
int details(const SoapIncoming& sc, SoapOutgoing& data);
|
41 |
int details(const SoapIncoming& sc, SoapOutgoing& data);
|
41 |
int metatext(const SoapIncoming& sc, SoapOutgoing& data);
|
42 |
int metatext(const SoapIncoming& sc, SoapOutgoing& data);
|
|
... |
|
... |
45 |
void makedetails(std::string &duration, std::string& bitrate,
|
46 |
void makedetails(std::string &duration, std::string& bitrate,
|
46 |
std::string& bitdepth, std::string& samplerate);
|
47 |
std::string& bitdepth, std::string& samplerate);
|
47 |
|
48 |
|
48 |
// State variable storage
|
49 |
// State variable storage
|
49 |
std::unordered_map<std::string, std::string> m_state;
|
50 |
std::unordered_map<std::string, std::string> m_state;
|
|
|
51 |
std::string m_metatext;
|
50 |
UpMpd *m_dev;
|
52 |
UpMpd *m_dev;
|
51 |
};
|
53 |
};
|
52 |
|
54 |
|
53 |
#endif /* _OHINFO_H_X_INCLUDED_ */
|
55 |
#endif /* _OHINFO_H_X_INCLUDED_ */
|