get rid of this awful casting to List *

This commit is contained in:
Andrzej Rybczak
2009-02-17 07:30:26 +01:00
parent ab2c925654
commit 2c66178663
15 changed files with 129 additions and 86 deletions

View File

@@ -42,9 +42,10 @@ class Browser : public Screen< Menu<MPD::Item> >
virtual bool allowsSelection() { return true; }
virtual void ReverseSelection();
virtual bool Deselect() { return w->Deselect(); }
virtual void GetSelectedSongs(MPD::SongList &);
virtual List *GetList() { return w; }
const std::string &CurrentDir() { return itsBrowsedDir; }
void GetDirectory(std::string, std::string = "/");