Switch to unified view

a/src/ohreceiver.hxx b/src/ohreceiver.hxx
...
...
49
49
50
    bool iStop();
50
    bool iStop();
51
    bool iPlay();
51
    bool iPlay();
52
    bool iSetSender(const std::string& uri, const std::string& meta);
52
    bool iSetSender(const std::string& uri, const std::string& meta);
53
    OHReceiverParams::PlayMethod playMethod() {return m_pm;}
53
    OHReceiverParams::PlayMethod playMethod() {return m_pm;}
54
55
    // Source active ?
56
    void setActive(bool onoff) {
57
        m_active = onoff;
58
    }
54
    
59
    
55
private:
60
private:
56
    int play(const SoapIncoming& sc, SoapOutgoing& data);
61
    int play(const SoapIncoming& sc, SoapOutgoing& data);
57
    int stop(const SoapIncoming& sc, SoapOutgoing& data);
62
    int stop(const SoapIncoming& sc, SoapOutgoing& data);
58
    int setSender(const SoapIncoming& sc, SoapOutgoing& data);
63
    int setSender(const SoapIncoming& sc, SoapOutgoing& data);
...
...
68
    // Current
73
    // Current
69
    std::string m_uri;
74
    std::string m_uri;
70
    std::string m_metadata;
75
    std::string m_metadata;
71
76
72
    UpMpd *m_dev;
77
    UpMpd *m_dev;
78
    bool   m_active;
73
    std::shared_ptr<ExecCmd> m_cmd;
79
    std::shared_ptr<ExecCmd> m_cmd;
74
    int m_httpport;
80
    int m_httpport;
75
    std::string m_sc2mpdpath;
81
    std::string m_sc2mpdpath;
76
    std::string m_httpuri;
82
    std::string m_httpuri;
77
    OHReceiverParams::PlayMethod m_pm;
83
    OHReceiverParams::PlayMethod m_pm;