Switch to unified view

a/src/ohtime.hxx b/src/ohtime.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
    OHTime(UpMpd *dev);
33
    OHTime(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 ohtime(const SoapArgs& sc, SoapData& data);
38
    int ohtime(const SoapIncoming& sc, SoapOutgoing& data);
39
39
40
    void getdata(std::string& trackcount, std::string &duration, std::string& seconds);
40
    void getdata(std::string& trackcount, std::string &duration, std::string& seconds);
41
    bool makestate(std::unordered_map<std::string, std::string> &st);
41
    bool makestate(std::unordered_map<std::string, std::string> &st);
42
    // State variable storage
42
    // State variable storage
43
    std::unordered_map<std::string, std::string> m_state;
43
    std::unordered_map<std::string, std::string> m_state;