Switch to unified view

a/src/ohplaylist.hxx b/src/ohplaylist.hxx
...
...
47
47
48
    int iStop();
48
    int iStop();
49
    void refreshState();
49
    void refreshState();
50
50
51
    // Source active ?
51
    // Source active ?
52
    void setActive(bool onoff) {
52
    void setActive(bool onoff);
53
        m_active = onoff;
54
    }
55
    
53
    
56
private:
54
private:
57
    int play(const SoapIncoming& sc, SoapOutgoing& data);
55
    int play(const SoapIncoming& sc, SoapOutgoing& data);
58
    int pause(const SoapIncoming& sc, SoapOutgoing& data);
56
    int pause(const SoapIncoming& sc, SoapOutgoing& data);
59
    int stop(const SoapIncoming& sc, SoapOutgoing& data);
57
    int stop(const SoapIncoming& sc, SoapOutgoing& data);
...
...
86
    // State variable storage
84
    // State variable storage
87
    std::unordered_map<std::string, std::string> m_state;
85
    std::unordered_map<std::string, std::string> m_state;
88
    UpMpd *m_dev;
86
    UpMpd *m_dev;
89
87
90
    bool m_active;
88
    bool m_active;
89
    MpdState m_mpdsavedstate;
91
    
90
    
92
    // Storage for song metadata, indexed by URL.  This used to be
91
    // Storage for song metadata, indexed by URL.  This used to be
93
    // indexed by song id, but this does not survive MPD restarts.
92
    // indexed by song id, but this does not survive MPD restarts.
94
    // The data is the DIDL XML string.
93
    // The data is the DIDL XML string.
95
    std::unordered_map<std::string, std::string> m_metacache;
94
    std::unordered_map<std::string, std::string> m_metacache;