Switch to unified view

a/upmpd/mpdcli.hxx b/upmpd/mpdcli.hxx
...
...
98
    bool random(bool on);
98
    bool random(bool on);
99
    bool single(bool on);
99
    bool single(bool on);
100
    bool consume(bool on);
100
    bool consume(bool on);
101
    bool seek(int seconds);
101
    bool seek(int seconds);
102
    bool clearQueue();
102
    bool clearQueue();
103
    int insert(const std::string& uri, int pos);
103
    int insert(const std::string& uri, int pos, const UpSong& meta);
104
    // Insert after given id. Returns new id or -1
104
    // Insert after given id. Returns new id or -1
105
    int insertAfterId(const std::string& uri, int id);
105
    int insertAfterId(const std::string& uri, int id, const UpSong& meta);
106
    bool deleteId(int id);
106
    bool deleteId(int id);
107
    // start included, end excluded
107
    // start included, end excluded
108
    bool deletePosRange(unsigned int start, unsigned int end);
108
    bool deletePosRange(unsigned int start, unsigned int end);
109
    bool statId(int id);
109
    bool statId(int id);
110
    int curpos();
110
    int curpos();
...
...
129
    int m_cachedvolume; 
129
    int m_cachedvolume; 
130
    std::string m_host;
130
    std::string m_host;
131
    int m_port;
131
    int m_port;
132
    std::string m_password;
132
    std::string m_password;
133
    regex_t m_tpuexpr;
133
    regex_t m_tpuexpr;
134
    // addtagid command only exists for mpd 0.19 and later.
135
    bool m_have_addtagid; 
134
136
135
    bool openconn();
137
    bool openconn();
136
    bool updStatus();
138
    bool updStatus();
137
    bool getQueueSongs(std::vector<mpd_song*>& songs);
139
    bool getQueueSongs(std::vector<mpd_song*>& songs);
138
    void freeSongs(std::vector<mpd_song*>& songs);
140
    void freeSongs(std::vector<mpd_song*>& songs);
139
    bool showError(const std::string& who);
141
    bool showError(const std::string& who);
140
    bool looksLikeTransportURI(const std::string& path);
142
    bool looksLikeTransportURI(const std::string& path);
143
    bool checkForCommand(const std::string& cmdname);
144
    bool send_tag(const char *cid, int tag, const std::string& data);
145
    bool send_tag_data(int id, const UpSong& meta);
141
};
146
};
142
147
143
148
144
#endif /* _MPDCLI_H_X_INCLUDED_ */
149
#endif /* _MPDCLI_H_X_INCLUDED_ */