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

@@ -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();