lyrics: general code refactoring

This commit is contained in:
Andrzej Rybczak
2010-08-10 01:12:59 +02:00
parent 5dc439aa19
commit 7cd6508496
3 changed files with 92 additions and 105 deletions

View File

@@ -49,12 +49,14 @@ class Lyrics : public Screen<Scrollpad>
void Save(const std::string &lyrics);
void Refetch();
static bool Reload;
static bool ReloadNP;
protected:
virtual void Init();
private:
void Load();
std::string itsFilenamePath;
static const std::string Folder;
@@ -64,7 +66,7 @@ class Lyrics : public Screen<Scrollpad>
void Take();
static bool Ready;
static bool ReadyToTake;
static pthread_t *Downloader;