aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 15:20:19 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 15:20:19 +0200
commitb1a8ff5269e42088b1530ccacb52a55b60754578 (patch)
treefcac2d8606a6cd2d456160c5d6bcbae1ed8dd6de /src/screen.h
parenta220d744b2c2ba89c9037caae055247953b72ac9 (diff)
downloadmpd-b1a8ff5269e42088b1530ccacb52a55b60754578.tar.gz
mpd-b1a8ff5269e42088b1530ccacb52a55b60754578.tar.xz
mpd-b1a8ff5269e42088b1530ccacb52a55b60754578.zip
screen_lyrics: add screen_lyrics_switch()
screen_lyrics_switch() opens the lyrics screen and displays the lyrics of the specified song. This way, the user may view the lyrics of any song in the database browser.
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index e6f0ee7a1..6d2645702 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -90,4 +90,10 @@ screen_is_visible(const struct screen_functions *sf);
int screen_get_mouse_event(mpdclient_t *c, unsigned long *bstate, int *row);
+
+#ifdef ENABLE_LYRICS_SCREEN
+void
+screen_lyrics_switch(struct mpdclient *c, const struct mpd_song *song);
+#endif
+
#endif