Switch to unified view

a/src/ohinfo.hxx b/src/ohinfo.hxx
...
...
20
#include <string>                       // for string
20
#include <string>                       // for string
21
#include <unordered_map>                // for unordered_map
21
#include <unordered_map>                // for unordered_map
22
#include <vector>                       // for vector
22
#include <vector>                       // for vector
23
23
24
#include "libupnpp/device/device.hxx"   // for UpnpService
24
#include "libupnpp/device/device.hxx"   // for UpnpService
25
#include "libupnpp/soaphelp.hxx"        // for SoapArgs, SoapData
25
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
26
26
27
class UpMpd;
27
class UpMpd;
28
28
29
using namespace UPnPP;
29
using namespace UPnPP;
30
30
...
...
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
private:
37
private:
38
    int counters(const SoapArgs& sc, SoapData& data);
38
    int counters(const SoapIncoming& sc, SoapOutgoing& data);
39
    int track(const SoapArgs& sc, SoapData& data);
39
    int track(const SoapIncoming& sc, SoapOutgoing& data);
40
    int details(const SoapArgs& sc, SoapData& data);
40
    int details(const SoapIncoming& sc, SoapOutgoing& data);
41
    int metatext(const SoapArgs& sc, SoapData& data);
41
    int metatext(const SoapIncoming& sc, SoapOutgoing& data);
42
42
43
    bool makestate(std::unordered_map<std::string, std::string>& state);
43
    bool makestate(std::unordered_map<std::string, std::string>& state);
44
    void urimetadata(std::string& uri, std::string& metadata);
44
    void urimetadata(std::string& uri, std::string& metadata);
45
    void makedetails(std::string &duration, std::string& bitrate,
45
    void makedetails(std::string &duration, std::string& bitrate,
46
                     std::string& bitdepth, std::string& samplerate);
46
                     std::string& bitdepth, std::string& samplerate);