Switch to unified view

a/src/mpdcli.hxx b/src/mpdcli.hxx
...
...
53
    }
53
    }
54
};
54
};
55
55
56
class MpdStatus {
56
class MpdStatus {
57
public:
57
public:
58
    MpdStatus() : trackcounter(0), detailscounter(0) {}
58
    MpdStatus() : trackcounter(0), detailscounter(0),
59
                  externalvolumecontrol(false) {}
59
60
60
    enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE};
61
    enum State {MPDS_UNK, MPDS_STOP, MPDS_PLAY, MPDS_PAUSE};
61
62
62
    int volume;
63
    int volume;
63
    bool rept;
64
    bool rept;
...
...
135
        return m_stat;
136
        return m_stat;
136
    }
137
    }
137
138
138
    // Copy complete mpd state. If seekms is > 0, this is the value to
139
    // Copy complete mpd state. If seekms is > 0, this is the value to
139
    // save (sometimes useful if mpd was stopped)
140
    // save (sometimes useful if mpd was stopped)
140
    bool saveState(MpdState& st, int seekms);
141
    bool saveState(MpdState& st, int seekms = 0);
141
    bool restoreState(const MpdState& st);
142
    bool restoreState(const MpdState& st);
142
    
143
    
143
private:
144
private:
144
    void *m_conn;
145
    void *m_conn;
145
    bool m_ok;
146
    bool m_ok;