abstract shared parts of switchTo methods away
This commit is contained in:
@@ -28,10 +28,11 @@
|
||||
#include <memory>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "interfaces.h"
|
||||
#include "lastfm_service.h"
|
||||
#include "screen.h"
|
||||
|
||||
struct Lastfm : public Screen<NC::Scrollpad>
|
||||
struct Lastfm: Screen<NC::Scrollpad>, Tabbable
|
||||
{
|
||||
Lastfm();
|
||||
|
||||
@@ -46,7 +47,6 @@ struct Lastfm : public Screen<NC::Scrollpad>
|
||||
virtual void spacePressed() OVERRIDE { }
|
||||
|
||||
virtual bool isMergable() OVERRIDE { return true; }
|
||||
virtual bool isTabbable() OVERRIDE { return false; }
|
||||
|
||||
// private members
|
||||
void Refetch();
|
||||
|
||||
Reference in New Issue
Block a user