abstract shared parts of switchTo methods away

This commit is contained in:
Andrzej Rybczak
2012-09-15 22:27:50 +02:00
parent f7dba0a578
commit 14587cb4ec
46 changed files with 301 additions and 463 deletions

View File

@@ -21,9 +21,10 @@
#ifndef _SERVER_INFO
#define _SERVER_INFO
#include "interfaces.h"
#include "screen.h"
struct ServerInfo : public Screen<NC::Scrollpad>
struct ServerInfo: Screen<NC::Scrollpad>, Tabbable
{
ServerInfo();
@@ -39,7 +40,6 @@ struct ServerInfo : public Screen<NC::Scrollpad>
virtual void spacePressed() OVERRIDE { }
virtual bool isMergable() OVERRIDE { return false; }
virtual bool isTabbable() OVERRIDE { return false; }
protected:
virtual bool isLockable() OVERRIDE { return false; }