summaryrefslogtreecommitdiff
path: root/src/lyrics.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2010-08-09 11:39:41 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2010-08-09 11:39:41 +0200
commitdaad444f3c183a7388d5285d5a7fa6cd5133d84e (patch)
tree1f49a026e0a69d3f2abfc3f33ec8f2ba04327b33 /src/lyrics.h
parentd3cb0ea6f6ab7be363baf0d395fb4aee91457a85 (diff)
lyrics: redesigned plugins system
Diffstat (limited to 'src/lyrics.h')
-rw-r--r--src/lyrics.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lyrics.h b/src/lyrics.h
index 30bf837f..9b591fb9 100644
--- a/src/lyrics.h
+++ b/src/lyrics.h
@@ -27,14 +27,6 @@
class Lyrics : public Screen<Scrollpad>
{
- struct Plugin
- {
- const char *url;
- const char *tag_open;
- const char *tag_close;
- bool (*not_found)(const std::string &);
- };
-
public:
Lyrics() : itsScrollBegin(0) { }
~Lyrics() { }
@@ -58,12 +50,6 @@ class Lyrics : public Screen<Scrollpad>
static bool Reload;
-# ifdef HAVE_CURL_CURL_H
- static const char *GetPluginName(int offset);
-
- static const unsigned DBs;
-# endif // HAVE_CURL_CURL_H
-
protected:
virtual void Init();
@@ -79,20 +65,12 @@ class Lyrics : public Screen<Scrollpad>
void Take();
# endif // HAVE_PTHREAD_H
- static const Plugin *ChoosePlugin(int);
- //static bool LyricsPlugin_NotFound(const std::string &);
- static bool Generic_NotFound(const std::string &);
-
static bool Ready;
# ifdef HAVE_PTHREAD_H
static pthread_t *Downloader;
# endif // HAVE_PTHREAD_H
- static const char *PluginsList[];
- //static const Plugin LyricsPlugin;
- static const Plugin LyrcComAr;
- static const Plugin Lyricsfly;
# endif // HAVE_CURL_CURL_H
size_t itsScrollBegin;