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

@@ -24,11 +24,12 @@
#include <pthread.h>
#include <queue>
#include "mpdpp.h"
#include "screen.h"
#include "interfaces.h"
#include "lyrics_fetcher.h"
#include "screen.h"
#include "song.h"
struct Lyrics : public Screen<NC::Scrollpad>
struct Lyrics: Screen<NC::Scrollpad>, Tabbable
{
Lyrics();
@@ -44,7 +45,6 @@ struct Lyrics : public Screen<NC::Scrollpad>
virtual void spacePressed() OVERRIDE;
virtual bool isMergable() OVERRIDE { return true; }
virtual bool isTabbable() OVERRIDE { return false; }
// private members
void Edit();