Switch to unified view

a/src/mpdcli.hxx b/src/mpdcli.hxx
...
...
93
93
94
class MPDCli {
94
class MPDCli {
95
public:
95
public:
96
    MPDCli(const std::string& host, int port = 6600, 
96
    MPDCli(const std::string& host, int port = 6600, 
97
           const std::string& pass="", const std::string& m_onstart="",
97
           const std::string& pass="", const std::string& m_onstart="",
98
           const std::string& m_onstop="",
98
           const std::string& m_onplay="", const std::string& m_onstop="",
99
           const std::string& m_onvolumechange="");
99
           const std::string& m_onvolumechange="");
100
    ~MPDCli();
100
    ~MPDCli();
101
    bool ok() {return m_ok && m_conn;}
101
    bool ok() {return m_ok && m_conn;}
102
    bool setVolume(int ivol, bool isMute = false);
102
    bool setVolume(int ivol, bool isMute = false);
103
    int  getVolume();
103
    int  getVolume();
...
...
148
    int m_cachedvolume; 
148
    int m_cachedvolume; 
149
    std::string m_host;
149
    std::string m_host;
150
    int m_port;
150
    int m_port;
151
    std::string m_password;
151
    std::string m_password;
152
    std::string m_onstart;
152
    std::string m_onstart;
153
    std::string m_onplay;
153
    std::string m_onstop;
154
    std::string m_onstop;
154
    std::string m_onvolumechange;
155
    std::string m_onvolumechange;
155
    regex_t m_tpuexpr;
156
    regex_t m_tpuexpr;
156
    // addtagid command only exists for mpd 0.19 and later.
157
    // addtagid command only exists for mpd 0.19 and later.
157
    bool m_have_addtagid; 
158
    bool m_have_addtagid;