Switch to unified view

a/src/ohinfo.hxx b/src/ohinfo.hxx
...
...
26
26
27
#include "ohservice.hxx"
27
#include "ohservice.hxx"
28
28
29
using namespace UPnPP;
29
using namespace UPnPP;
30
30
31
class OHPlaylist;
32
31
class OHInfo : public OHService {
33
class OHInfo : public OHService {
32
public:
34
public:
33
    OHInfo(UpMpd *dev);
35
    OHInfo(UpMpd *dev);
34
36
35
    void setMetatext(const std::string& metatext);
37
    void setMetatext(const std::string& metatext);
38
39
    void setOHPL(OHPlaylist *ohp) {
40
        m_ohpl = ohp;
41
    }
36
42
37
protected:
43
protected:
38
    virtual bool makestate(std::unordered_map<std::string, std::string>& state);
44
    virtual bool makestate(std::unordered_map<std::string, std::string>& state);
39
45
40
private:
46
private:
...
...
46
    void urimetadata(std::string& uri, std::string& metadata);
52
    void urimetadata(std::string& uri, std::string& metadata);
47
    void makedetails(std::string &duration, std::string& bitrate,
53
    void makedetails(std::string &duration, std::string& bitrate,
48
                     std::string& bitdepth, std::string& samplerate);
54
                     std::string& bitdepth, std::string& samplerate);
49
55
50
    std::string m_metatext;
56
    std::string m_metatext;
57
    OHPlaylist *m_ohpl;
51
};
58
};
52
59
53
#endif /* _OHINFO_H_X_INCLUDED_ */
60
#endif /* _OHINFO_H_X_INCLUDED_ */