aboutsummaryrefslogtreecommitdiffstats
path: root/src/lyrics.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-12 19:41:18 +0100
committerMax Kellermann <max@duempel.org>2008-12-12 19:41:18 +0100
commit196c22ca88fbe005aba1fdf6dffe2343231757eb (patch)
treef2dc9c316e80f7e4e702a43c3a8ba086d87ce459 /src/lyrics.h
parent041b59e39d320fff89e02a853cd162ba88b909cf (diff)
downloadmpd-196c22ca88fbe005aba1fdf6dffe2343231757eb.tar.gz
mpd-196c22ca88fbe005aba1fdf6dffe2343231757eb.tar.xz
mpd-196c22ca88fbe005aba1fdf6dffe2343231757eb.zip
lyrics: use the new plugin library
Diffstat (limited to 'src/lyrics.h')
-rw-r--r--src/lyrics.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lyrics.h b/src/lyrics.h
index 613ccb338..d8bbe734d 100644
--- a/src/lyrics.h
+++ b/src/lyrics.h
@@ -19,9 +19,7 @@
#ifndef LYRICS_H
#define LYRICS_H
-#include <glib.h>
-
-typedef void (*lyrics_callback_t)(const GString *result, void *data);
+#include "plugin.h"
struct lyrics_loader;
@@ -31,7 +29,7 @@ void lyrics_deinit(void);
struct lyrics_loader *
lyrics_load(const char *artist, const char *title,
- lyrics_callback_t callback, void *callback_data);
+ plugin_callback_t callback, void *callback_data);
void
lyrics_free(struct lyrics_loader *loader);