local browser: properly check if file extension is supported

This commit is contained in:
Andrzej Rybczak
2012-01-15 13:23:07 +01:00
parent b058fdce30
commit 57511bb941
4 changed files with 28 additions and 13 deletions

View File

@@ -21,6 +21,7 @@
#ifndef _MPDPP_H
#define _MPDPP_H
#include <set>
#include <vector>
#include <mpd/client.h>
@@ -162,6 +163,8 @@ namespace MPD
Song GetSong(const std::string &);
void GetPlaylistContent(const std::string &, SongList &);
void GetSupportedExtensions(std::set<std::string> &);
void SetRepeat(bool);
void SetRandom(bool);
void SetSingle(bool);