Switch to unified view

a/src/avtransport.hxx b/src/avtransport.hxx
...
...
21
#include <string>                       // for string
21
#include <string>                       // for string
22
#include <unordered_map>                // for unordered_map
22
#include <unordered_map>                // for unordered_map
23
#include <vector>                       // for vector
23
#include <vector>                       // for vector
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
class OHPlaylist;
28
class OHPlaylist;
29
class UpMpd;
29
class UpMpd;
30
30
31
using namespace UPnPP;
31
using namespace UPnPP;
...
...
41
    {
41
    {
42
        m_ohp = ohp;
42
        m_ohp = ohp;
43
    }
43
    }
44
44
45
private:
45
private:
46
    int setAVTransportURI(const SoapArgs& sc, SoapData& data, bool setnext);
46
    int setAVTransportURI(const SoapIncoming& sc, SoapOutgoing& data, bool setnext);
47
    int getPositionInfo(const SoapArgs& sc, SoapData& data);
47
    int getPositionInfo(const SoapIncoming& sc, SoapOutgoing& data);
48
    int getTransportInfo(const SoapArgs& sc, SoapData& data);
48
    int getTransportInfo(const SoapIncoming& sc, SoapOutgoing& data);
49
    int getMediaInfo(const SoapArgs& sc, SoapData& data);
49
    int getMediaInfo(const SoapIncoming& sc, SoapOutgoing& data);
50
    int getDeviceCapabilities(const SoapArgs& sc, SoapData& data);
50
    int getDeviceCapabilities(const SoapIncoming& sc, SoapOutgoing& data);
51
    int setPlayMode(const SoapArgs& sc, SoapData& data);
51
    int setPlayMode(const SoapIncoming& sc, SoapOutgoing& data);
52
    int getTransportSettings(const SoapArgs& sc, SoapData& data);
52
    int getTransportSettings(const SoapIncoming& sc, SoapOutgoing& data);
53
    int getCurrentTransportActions(const SoapArgs& sc, SoapData& data);
53
    int getCurrentTransportActions(const SoapIncoming& sc, SoapOutgoing& data);
54
    int playcontrol(const SoapArgs& sc, SoapData& data, int what);
54
    int playcontrol(const SoapIncoming& sc, SoapOutgoing& data, int what);
55
    int seek(const SoapArgs& sc, SoapData& data);
55
    int seek(const SoapIncoming& sc, SoapOutgoing& data);
56
    int seqcontrol(const SoapArgs& sc, SoapData& data, int what);
56
    int seqcontrol(const SoapIncoming& sc, SoapOutgoing& data, int what);
57
    // Translate MPD state to AVTransport state variables.
57
    // Translate MPD state to AVTransport state variables.
58
    bool tpstateMToU(std::unordered_map<std::string, std::string>& state);
58
    bool tpstateMToU(std::unordered_map<std::string, std::string>& state);
59
59
60
    UpMpd *m_dev;
60
    UpMpd *m_dev;
61
    OHPlaylist *m_ohp;
61
    OHPlaylist *m_ohp;