aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 23:58:28 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 23:58:28 +0100
commitf3849aa2b3eb49ca6a903e6627f97540c1a383f1 (patch)
treefd264cfe8ca66ae006983bd3992031f374709048 /src/screen.h
parent77b6145e75c6e1641002dd9675bcf3b5439c3718 (diff)
downloadmpd-f3849aa2b3eb49ca6a903e6627f97540c1a383f1.tar.gz
mpd-f3849aa2b3eb49ca6a903e6627f97540c1a383f1.tar.xz
mpd-f3849aa2b3eb49ca6a903e6627f97540c1a383f1.zip
screen_song: new screen which views song information
This new screen views all information available on a song: its location, file name, and tags.
Diffstat (limited to '')
-rw-r--r--src/screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index 5d7737973..f49ac82d1 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -56,6 +56,9 @@ extern const struct screen_functions screen_help;
#ifdef ENABLE_SEARCH_SCREEN
extern const struct screen_functions screen_search;
#endif
+#ifdef ENABLE_SONG_SCREEN
+extern const struct screen_functions screen_song;
+#endif
#ifdef ENABLE_KEYDEF_SCREEN
extern const struct screen_functions screen_keydef;
#endif
@@ -98,6 +101,11 @@ int screen_get_mouse_event(mpdclient_t *c, unsigned long *bstate, int *row);
bool
screen_file_goto_song(struct mpdclient *c, const struct mpd_song *song);
+#ifdef ENABLE_SONG_SCREEN
+void
+screen_song_switch(struct mpdclient *c, const struct mpd_song *song);
+#endif
+
#ifdef ENABLE_LYRICS_SCREEN
void
screen_lyrics_switch(struct mpdclient *c, const struct mpd_song *song);