From 7da9477bc3401cbd90b2984f625f96f451ecaf6b Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 28 Oct 2005 00:00:00 +0000 Subject: Initial multi screen support by Kévin Ferrare (Patch #1318081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7666 a1c6a512-1295-4272-9138-f99709370657 --- apps/status.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'apps/status.h') diff --git a/apps/status.h b/apps/status.h index 0d8c80d7a8..29316f98b1 100644 --- a/apps/status.h +++ b/apps/status.h @@ -19,6 +19,21 @@ #ifndef _STATUS_H #define _STATUS_H +extern enum playmode ff_mode; + +extern long switch_tick; +extern bool battery_state; +#ifdef HAVE_CHARGING +extern int battery_charge_step; +#endif + +#if defined(HAVE_LCD_CHARCELLS) +extern bool record; +extern bool audio; +extern bool param; +extern bool usb; +#endif + enum playmode { STATUS_PLAY, @@ -33,10 +48,12 @@ enum playmode void status_init(void); void status_set_ffmode(enum playmode mode); enum playmode status_get_ffmode(void); +int current_playmode(void); + #ifdef HAVE_LCD_BITMAP bool statusbar(bool state); #if CONFIG_KEYPAD == RECORDER_PAD -void buttonbar_set(const char* caption1, const char* caption2, +void buttonbar_set(const char* caption1, const char* caption2, const char* caption3); void buttonbar_unset(void); bool buttonbar_isset(void); -- cgit v1.2.3