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

@@ -25,11 +25,12 @@
#ifdef ENABLE_OUTPUTS
#include "interfaces.h"
#include "menu.h"
#include "mpdpp.h"
#include "screen.h"
struct Outputs : public Screen<NC::Menu<MPD::Output>>
struct Outputs: Screen<NC::Menu<MPD::Output>>, Tabbable
{
Outputs();
@@ -45,7 +46,6 @@ struct Outputs : public Screen<NC::Menu<MPD::Output>>
virtual void spacePressed() OVERRIDE { }
virtual void mouseButtonPressed(MEVENT me) OVERRIDE;
virtual bool isTabbable() OVERRIDE { return true; }
virtual bool isMergable() OVERRIDE { return true; }
// private members