some progress towards software-selectability of usb class drivers.
[maemo-rb.git] / apps / screens.h
blob4d7704f7d54aa237e7069fd1137dfd99e9fbbaf1
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 struct screen;
27 void usb_screen(void);
28 #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) && defined(CPU_SH)
29 int charging_screen(void);
30 #endif
31 #if CONFIG_CHARGING || defined(SIMULATOR)
32 void charging_splash(void);
33 #endif
35 #ifdef HAVE_MMC
36 int mmc_remove_request(void);
37 #endif
39 #ifdef HAVE_PITCHSCREEN
40 bool pitch_screen(void);
41 #endif
43 #ifdef BUTTON_F3
44 extern bool quick_screen_f3(int button_enter);
45 #endif
46 extern bool quick_screen_quick(int button_enter);
48 #if CONFIG_RTC
49 bool set_time_screen(const char* title, struct tm *tm);
50 #endif
52 bool shutdown_screen(void);
53 bool browse_id3(void);
54 bool view_runtime(void);
56 #endif