Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
Nicolas Pennequin | 357ffb3 | 2008-05-05 10:32:46 +0000 | [diff] [blame] | 10 | * Copyright (C) 2002 Björn Stenberg |
Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 11 | * |
Daniel Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame^] | 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | #ifndef _SCREENS_H_ |
| 22 | #define _SCREENS_H_ |
| 23 | |
Christi Scarborough | c567bb9 | 2005-06-26 20:59:45 +0000 | [diff] [blame] | 24 | #include "config.h" |
Linus Nielsen Feltzing | 1de3dd5 | 2004-04-21 06:49:12 +0000 | [diff] [blame] | 25 | #include "timefuncs.h" |
| 26 | |
Kevin Ferrare | 74b6af9 | 2005-11-22 03:38:07 +0000 | [diff] [blame] | 27 | struct screen; |
| 28 | |
Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 29 | void usb_screen(void); |
Nils Wallménius | 3f8c075 | 2007-07-08 15:32:56 +0000 | [diff] [blame] | 30 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) && defined(CPU_SH) |
Jörg Hohensohn | 5dd17b1 | 2003-07-17 20:29:51 +0000 | [diff] [blame] | 31 | int charging_screen(void); |
Nils Wallménius | 3f8c075 | 2007-07-08 15:32:56 +0000 | [diff] [blame] | 32 | #endif |
| 33 | #if CONFIG_CHARGING || defined(SIMULATOR) |
Björn Stenberg | 461d6e3 | 2003-12-04 00:08:25 +0000 | [diff] [blame] | 34 | void charging_splash(void); |
Nils Wallménius | 3f8c075 | 2007-07-08 15:32:56 +0000 | [diff] [blame] | 35 | #endif |
Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 36 | |
Jens Arnold | 7f6b640 | 2004-10-12 00:02:51 +0000 | [diff] [blame] | 37 | #ifdef HAVE_MMC |
| 38 | int mmc_remove_request(void); |
| 39 | #endif |
| 40 | |
Jonathan Gordon | 5e5bfab | 2006-08-16 13:25:45 +0000 | [diff] [blame] | 41 | #ifdef HAVE_PITCHSCREEN |
Zakk Roberts | 87afd0b | 2006-03-21 07:59:23 +0000 | [diff] [blame] | 42 | bool pitch_screen(void); |
Jonathan Gordon | 5e5bfab | 2006-08-16 13:25:45 +0000 | [diff] [blame] | 43 | #endif |
Zakk Roberts | 87afd0b | 2006-03-21 07:59:23 +0000 | [diff] [blame] | 44 | |
Jens Arnold | 2c7b127 | 2007-03-16 23:47:03 +0000 | [diff] [blame] | 45 | #if CONFIG_RTC |
Nils Wallménius | 2e80610 | 2007-07-01 12:08:45 +0000 | [diff] [blame] | 46 | bool set_time_screen(const char* title, struct tm *tm); |
Linus Nielsen Feltzing | 1de3dd5 | 2004-04-21 06:49:12 +0000 | [diff] [blame] | 47 | #endif |
Linus Nielsen Feltzing | 5b5003d | 2004-07-24 21:26:41 +0000 | [diff] [blame] | 48 | |
| 49 | bool shutdown_screen(void); |
Björn Stenberg | 6c33c51 | 2004-09-19 21:58:37 +0000 | [diff] [blame] | 50 | bool browse_id3(void); |
Jonathan Gordon | d152b64 | 2006-12-19 12:26:03 +0000 | [diff] [blame] | 51 | bool view_runtime(void); |
Linus Nielsen Feltzing | 5b5003d | 2004-07-24 21:26:41 +0000 | [diff] [blame] | 52 | |
Björn Stenberg | b1b8bd4 | 2002-09-24 17:22:12 +0000 | [diff] [blame] | 53 | #endif |
Jörg Hohensohn | 5dd17b1 | 2003-07-17 20:29:51 +0000 | [diff] [blame] | 54 | |