|
a/upmpd/mpdcli.hxx |
|
b/upmpd/mpdcli.hxx |
|
... |
|
... |
105 |
// Insert after given id. Returns new id or -1
|
105 |
// Insert after given id. Returns new id or -1
|
106 |
int insertAfterId(const std::string& uri, int id);
|
106 |
int insertAfterId(const std::string& uri, int id);
|
107 |
bool deleteId(int id);
|
107 |
bool deleteId(int id);
|
108 |
bool statId(int id);
|
108 |
bool statId(int id);
|
109 |
int curpos();
|
109 |
int curpos();
|
110 |
bool getQueueIds(std::vector<unsigned int>& vids);
|
110 |
bool getQueueData(std::vector<UpSong>& vdata);
|
111 |
bool statSong(UpSong& usong, int pos = -1, bool isId = false);
|
111 |
bool statSong(UpSong& usong, int pos = -1, bool isId = false);
|
112 |
bool mapSong(UpSong& usong, struct mpd_song *song);
|
112 |
UpSong& mapSong(UpSong& usong, struct mpd_song *song);
|
113 |
|
113 |
|
114 |
const MpdStatus& getStatus()
|
114 |
const MpdStatus& getStatus()
|
115 |
{
|
115 |
{
|
116 |
updStatus();
|
116 |
updStatus();
|
117 |
return m_stat;
|
117 |
return m_stat;
|