Switch to unified view

a/src/ohreceiver.hxx b/src/ohreceiver.hxx
...
...
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
#include <memory>
23
#include <memory>
24
24
25
#include "libupnpp/device/device.hxx"   // for UpnpService
25
#include "libupnpp/device/device.hxx"   // for UpnpService
26
#include "libupnpp/soaphelp.hxx"        // for SoapArgs, SoapData
26
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
27
27
28
#include "execmd.h"
28
#include "execmd.h"
29
29
30
using namespace UPnPP;
30
using namespace UPnPP;
31
class UpMpd;
31
class UpMpd;
...
...
39
                              std::vector<std::string>& values);
39
                              std::vector<std::string>& values);
40
40
41
    virtual bool iStop();
41
    virtual bool iStop();
42
42
43
private:
43
private:
44
    int play(const SoapArgs& sc, SoapData& data);
44
    int play(const SoapIncoming& sc, SoapOutgoing& data);
45
    int stop(const SoapArgs& sc, SoapData& data);
45
    int stop(const SoapIncoming& sc, SoapOutgoing& data);
46
    int setSender(const SoapArgs& sc, SoapData& data);
46
    int setSender(const SoapIncoming& sc, SoapOutgoing& data);
47
    int sender(const SoapArgs& sc, SoapData& data);
47
    int sender(const SoapIncoming& sc, SoapOutgoing& data);
48
    int protocolInfo(const SoapArgs& sc, SoapData& data);
48
    int protocolInfo(const SoapIncoming& sc, SoapOutgoing& data);
49
    int transportState(const SoapArgs& sc, SoapData& data);
49
    int transportState(const SoapIncoming& sc, SoapOutgoing& data);
50
50
51
    bool makestate(std::unordered_map<std::string, std::string> &st);
51
    bool makestate(std::unordered_map<std::string, std::string> &st);
52
    void maybeWakeUp(bool ok);
52
    void maybeWakeUp(bool ok);
53
    // State variable storage (previous state)
53
    // State variable storage (previous state)
54
    std::unordered_map<std::string, std::string> m_state;
54
    std::unordered_map<std::string, std::string> m_state;