Switch to unified view
a/upmpd/mpdcli.hxx | b/upmpd/mpdcli.hxx | ||
---|---|---|---|
... |
... |
||
50 | public: |
50 | public: |
51 | MPDCli(const std::string& host, int port = 6600, |
51 | MPDCli(const std::string& host, int port = 6600, |
52 | const std::string& pass=""); |
52 | const std::string& pass=""); |
53 | ~MPDCli(); |
53 | ~MPDCli(); |
54 | bool ok() {return m_ok && m_conn;} |
54 | bool ok() {return m_ok && m_conn;} |
55 | bool setVolume(int ivol, bool relative = false); |
55 | bool setVolume(int ivol, bool isMute = false);
|
56 | int getVolume(); |
56 | int getVolume(); |
57 | bool togglePause(); |
57 | bool togglePause(); |
58 | bool play(int pos = -1); |
58 | bool play(int pos = -1); |
59 | bool stop(); |
59 | bool stop(); |
60 | bool next(); |
60 | bool next(); |