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,13 +42,14 @@ class PlaylistEditor : public Screen<Window>
virtual bool allowsSelection() { return w == Content; }
virtual void ReverseSelection() { Content->ReverseSelection(); }
virtual bool Deselect() { return Content->Deselect(); }
virtual void GetSelectedSongs(MPD::SongList &);
virtual List *GetList();
void NextColumn();
void PrevColumn();
Menu<std::string> *List;
Menu<std::string> *Playlists;
Menu<MPD::Song> *Content;
protected: