do not start additional thread if lyrics are available locally

This commit is contained in:
Andrzej Rybczak
2009-03-27 13:21:29 +01:00
parent 1daa41bde6
commit 8ecd35051a
3 changed files with 62 additions and 67 deletions

View File

@@ -67,13 +67,12 @@ class Lyrics : public Screen<Scrollpad>
# endif // HAVE_CURL_CURL_H
private:
static void *Get(void *);
static std::string Filename;
static std::string FilenamePath;
static const std::string Folder;
# ifdef HAVE_CURL_CURL_H
static void *Get(void *);
# ifdef HAVE_PTHREAD_H
void Take();
# endif // HAVE_PTHREAD_H