aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 15:20:18 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 15:20:18 +0200
commita220d744b2c2ba89c9037caae055247953b72ac9 (patch)
treea0f4f7cd6df23ae4544f172b6ce31deb7744a951 /src/screen.h
parent3b61108fb88d032c168497d193f8cedc28b97df3 (diff)
downloadmpd-a220d744b2c2ba89c9037caae055247953b72ac9.tar.gz
mpd-a220d744b2c2ba89c9037caae055247953b72ac9.tar.xz
mpd-a220d744b2c2ba89c9037caae055247953b72ac9.zip
screen: export function screen_switch()
Provide an API for switching the currently displayed screen. Rename switch_screen_mode() to screen_switch().
Diffstat (limited to '')
-rw-r--r--src/screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index 1aa2ce5ab..e6f0ee7a1 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -82,6 +82,9 @@ void screen_idle(mpdclient_t *c);
void screen_cmd(mpdclient_t *c, command_t cmd);
gint screen_get_id(const char *name);
+void
+screen_switch(const struct screen_functions *sf, struct mpdclient *c);
+
gboolean
screen_is_visible(const struct screen_functions *sf);