summaryrefslogtreecommitdiff
path: root/src/server_info.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 22:27:50 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 22:58:32 +0200
commit14587cb4ec92f078b8f20cf717e7a4e92ae75c5c (patch)
treecd581d428066d2761c3ee5dde0bcf32ba433b43a /src/server_info.h
parentf7dba0a578d32677eebdeec76fa5c3204a933d20 (diff)
abstract shared parts of switchTo methods away
Diffstat (limited to 'src/server_info.h')
-rw-r--r--src/server_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server_info.h b/src/server_info.h
index 1b8364d9..48877bdc 100644
--- a/src/server_info.h
+++ b/src/server_info.h
@@ -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; }