Switch to unified view

a/src/renderctl.hxx b/src/renderctl.hxx
...
...
20
#include <string>                       // for string
20
#include <string>                       // for string
21
#include <vector>                       // for vector
21
#include <vector>                       // for vector
22
#include <unordered_map>                // for unordered_map
22
#include <unordered_map>                // for unordered_map
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
...
...
37
    int getvolume_i();
37
    int getvolume_i();
38
    void setvolume_i(int volume);
38
    void setvolume_i(int volume);
39
    void setmute_i(bool onoff);
39
    void setmute_i(bool onoff);
40
private:
40
private:
41
    bool rdstateMToU(std::unordered_map<std::string, std::string>& status);
41
    bool rdstateMToU(std::unordered_map<std::string, std::string>& status);
42
    int setMute(const SoapArgs& sc, SoapData& data);
42
    int setMute(const SoapIncoming& sc, SoapOutgoing& data);
43
    int getMute(const SoapArgs& sc, SoapData& data);
43
    int getMute(const SoapIncoming& sc, SoapOutgoing& data);
44
    int setVolume(const SoapArgs& sc, SoapData& data, bool isDb);
44
    int setVolume(const SoapIncoming& sc, SoapOutgoing& data, bool isDb);
45
    int getVolume(const SoapArgs& sc, SoapData& data, bool isDb);
45
    int getVolume(const SoapIncoming& sc, SoapOutgoing& data, bool isDb);
46
    int listPresets(const SoapArgs& sc, SoapData& data);
46
    int listPresets(const SoapIncoming& sc, SoapOutgoing& data);
47
    int selectPreset(const SoapArgs& sc, SoapData& data);
47
    int selectPreset(const SoapIncoming& sc, SoapOutgoing& data);
48
48
49
    UpMpd *m_dev;
49
    UpMpd *m_dev;
50
    // Desired volume target. We may delay executing small volume
50
    // Desired volume target. We may delay executing small volume
51
    // changes to avoid saturating with small requests.
51
    // changes to avoid saturating with small requests.
52
    int m_desiredvolume;
52
    int m_desiredvolume;