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

@@ -33,6 +33,7 @@ struct ServerInfo: Screen<NC::Scrollpad>, Tabbable
virtual void resize() OVERRIDE;
virtual std::wstring title() OVERRIDE;
virtual ScreenType type() OVERRIDE { return ScreenType::ServerInfo; }
virtual void update() OVERRIDE;