Switch to unified view

a/upmpd/mpdcli.hxx b/upmpd/mpdcli.hxx
...
...
19
19
20
#include <unordered_map>
20
#include <unordered_map>
21
#include <string>
21
#include <string>
22
#include <map>
22
#include <map>
23
23
24
struct MpdStatus {
24
class MpdStatus {
25
public:
25
    enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE};
26
    enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE};
26
    int volume;
27
    int volume;
27
    bool rept;
28
    bool rept;
28
    bool random;
29
    bool random;
29
    bool single;
30
    bool single;
...
...
66
    bool clearQueue();
67
    bool clearQueue();
67
    int insert(const std::string& uri, int pos);
68
    int insert(const std::string& uri, int pos);
68
    bool deleteId(int id);
69
    bool deleteId(int id);
69
    bool statId(int id);
70
    bool statId(int id);
70
    int curpos();
71
    int curpos();
71
    const struct MpdStatus& getStatus()
72
    const MpdStatus& getStatus()
72
    {
73
    {
73
        updStatus();
74
        updStatus();
74
        return m_stat;
75
        return m_stat;
75
    }
76
    }
76
77