new feature: add local directories recursively

This commit is contained in:
Andrzej Rybczak
2009-06-10 18:09:58 +02:00
parent c497641908
commit f6d9be350c
2 changed files with 46 additions and 28 deletions

View File

@@ -53,13 +53,12 @@ class Browser : public Screen< Menu<MPD::Item> >
void LocateSong(const MPD::Song &);
void GetDirectory(std::string, std::string = "/");
void GetLocalDirectory(MPD::ItemList &, const std::string & = "", bool = 0) const;
void ClearDirectory(const std::string &) const;
void ChangeBrowseMode();
void UpdateItemList();
private:
void GetLocalDirectory(MPD::ItemList &);
static bool hasSupportedExtension(const std::string &);
static std::string ItemToString(const MPD::Item &, void *);