Don't die on opendir() failure. Index .mp2 files too.
[kugel-rb.git] / apps / screens.h
blob8940bb590cfa215ff6bfcc983ecada9a2d7565db
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 "timefuncs.h"
24 void usb_display_info(void);
25 void usb_screen(void);
26 int charging_screen(void);
27 void charging_splash(void);
29 #ifdef HAVE_MMC
30 int mmc_remove_request(void);
31 #endif
33 #if CONFIG_KEYPAD == RECORDER_PAD
34 int pitch_screen(void);
35 bool quick_screen(const int, const int);
36 #endif
38 void splash(int ticks, /* how long */
39 bool center, /* FALSE means left-justified, TRUE means
40 horizontal and vertical center */
41 const char *fmt, /* what to say *printf style */
42 ...);
44 #ifdef HAVE_RTC
45 bool set_time_screen(const char* string, struct tm *tm);
46 #endif
48 bool shutdown_screen(void);
49 bool browse_id3(void);
51 #endif