Fix for ff/rw in long MP3 files.
[kugel-rb.git] / apps / screens.h
blob7a1b3f32bb1cffca394f939ebb3731b33e855f93
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 Björn Stenberg
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _SCREENS_H_
20 #define _SCREENS_H_
22 #include "config.h"
23 #include "timefuncs.h"
25 void usb_display_info(void);
26 void usb_screen(void);
27 int charging_screen(void);
28 void charging_splash(void);
30 #ifdef HAVE_MMC
31 int mmc_remove_request(void);
32 #endif
34 #if CONFIG_KEYPAD == RECORDER_PAD
35 int pitch_screen(void);
36 bool quick_screen(const int, const int);
37 #define SCREENS_QUICK BUTTON_F2
38 #endif
40 #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)
41 bool quick_screen(const int, const int);
42 #define SCREENS_QUICK BUTTON_MODE
43 /* Long press already detected so not needed here */
44 #endif
46 void splash(int ticks, /* how long */
47 bool center, /* FALSE means left-justified, TRUE means
48 horizontal and vertical center */
49 const char *fmt, /* what to say *printf style */
50 ...);
52 #ifdef HAVE_RTC
53 bool set_time_screen(const char* string, struct tm *tm);
54 #endif
56 bool shutdown_screen(void);
57 bool browse_id3(void);
58 bool set_rating(void);
60 #endif