abstract shared parts of switchTo methods away
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user