Switch to unified view

a/src/mpdcli.hxx b/src/mpdcli.hxx
...
...
96
    std::vector<UpSong> queue;
96
    std::vector<UpSong> queue;
97
};
97
};
98
98
99
class MPDCli {
99
class MPDCli {
100
public:
100
public:
101
    MPDCli(const std::string& host, int port = 6600, 
101
    MPDCli(const std::string& host, int port = 6600, const std::string& pss="");
102
           const std::string& pass="", const std::string& onstart="",
103
           const std::string& onplay="", const std::string& onstop="",
104
           const std::string& onvolumechange="", 
105
     const std::string& getexternalvolume="",
106
     bool externalvolumecontrol = false);
107
    ~MPDCli();
102
    ~MPDCli();
108
    bool ok() {return m_ok && m_conn;}
103
    bool ok() {return m_ok && m_conn;}
109
    bool setVolume(int ivol, bool isMute = false);
104
    bool setVolume(int ivol, bool isMute = false);
110
    int  getVolume();
105
    int  getVolume();
106
    void forceInternalVControl();
111
    bool togglePause();
107
    bool togglePause();
112
    bool pause(bool onoff);
108
    bool pause(bool onoff);
113
    bool play(int pos = -1);
109
    bool play(int pos = -1);
114
    bool playId(int id = -1);
110
    bool playId(int id = -1);
115
    bool stop();
111
    bool stop();