add ScreenType for screen's type identification

This commit is contained in:
Andrzej Rybczak
2012-09-16 03:49:11 +02:00
parent f691ab265f
commit f0a0734728
21 changed files with 143 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ struct Playlist: Screen<NC::Menu<MPD::Song>>, Filterable, HasSongs, Searchable,
virtual void resize() OVERRIDE;
virtual std::wstring title() OVERRIDE;
virtual ScreenType type() OVERRIDE { return ScreenType::Playlist; }
virtual void update() OVERRIDE { }