blob: d024cc5f2e2efd1e6ea6d114ce403eca291e1984 [file] [log] [blame]
Björn Stenbergb1b8bd42002-09-24 17:22:12 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
Nicolas Pennequin357ffb32008-05-05 10:32:46 +000010 * Copyright (C) 2002 Björn Stenberg
Björn Stenbergb1b8bd42002-09-24 17:22:12 +000011 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * 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 Stenbergb1b8bd42002-09-24 17:22:12 +000016 *
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 Scarboroughc567bb92005-06-26 20:59:45 +000024#include "config.h"
Linus Nielsen Feltzing1de3dd52004-04-21 06:49:12 +000025#include "timefuncs.h"
26
Kevin Ferrare74b6af92005-11-22 03:38:07 +000027struct screen;
28
Björn Stenbergb1b8bd42002-09-24 17:22:12 +000029void usb_screen(void);
Nils Wallménius3f8c0752007-07-08 15:32:56 +000030#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) && defined(CPU_SH)
Jörg Hohensohn5dd17b12003-07-17 20:29:51 +000031int charging_screen(void);
Nils Wallménius3f8c0752007-07-08 15:32:56 +000032#endif
33#if CONFIG_CHARGING || defined(SIMULATOR)
Björn Stenberg461d6e32003-12-04 00:08:25 +000034void charging_splash(void);
Nils Wallménius3f8c0752007-07-08 15:32:56 +000035#endif
Björn Stenbergb1b8bd42002-09-24 17:22:12 +000036
Jens Arnold7f6b6402004-10-12 00:02:51 +000037#ifdef HAVE_MMC
38int mmc_remove_request(void);
39#endif
40
Jonathan Gordon5e5bfab2006-08-16 13:25:45 +000041#ifdef HAVE_PITCHSCREEN
Zakk Roberts87afd0b2006-03-21 07:59:23 +000042bool pitch_screen(void);
Jonathan Gordon5e5bfab2006-08-16 13:25:45 +000043#endif
Zakk Roberts87afd0b2006-03-21 07:59:23 +000044
Jens Arnold2c7b1272007-03-16 23:47:03 +000045#if CONFIG_RTC
Nils Wallménius2e806102007-07-01 12:08:45 +000046bool set_time_screen(const char* title, struct tm *tm);
Linus Nielsen Feltzing1de3dd52004-04-21 06:49:12 +000047#endif
Linus Nielsen Feltzing5b5003d2004-07-24 21:26:41 +000048
49bool shutdown_screen(void);
Björn Stenberg6c33c512004-09-19 21:58:37 +000050bool browse_id3(void);
Jonathan Gordond152b642006-12-19 12:26:03 +000051bool view_runtime(void);
Linus Nielsen Feltzing5b5003d2004-07-24 21:26:41 +000052
Björn Stenbergb1b8bd42002-09-24 17:22:12 +000053#endif
Jörg Hohensohn5dd17b12003-07-17 20:29:51 +000054