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