2002-09-24 17:22:12 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
2008-05-05 10:32:46 +00:00
|
|
|
* Copyright (C) 2002 Björn Stenberg
|
2002-09-24 17:22:12 +00:00
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2002-09-24 17:22:12 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _SCREENS_H_
|
|
|
|
#define _SCREENS_H_
|
|
|
|
|
2005-06-26 20:59:45 +00:00
|
|
|
#include "config.h"
|
2004-04-21 06:49:12 +00:00
|
|
|
#include "timefuncs.h"
|
2021-12-28 07:56:16 +00:00
|
|
|
#include "metadata.h"
|
2004-04-21 06:49:12 +00:00
|
|
|
|
2005-11-22 03:38:07 +00:00
|
|
|
struct screen;
|
|
|
|
|
2007-07-08 15:32:56 +00:00
|
|
|
#if CONFIG_CHARGING || defined(SIMULATOR)
|
2003-12-04 00:08:25 +00:00
|
|
|
void charging_splash(void);
|
2007-07-08 15:32:56 +00:00
|
|
|
#endif
|
2002-09-24 17:22:12 +00:00
|
|
|
|
2008-10-31 21:25:04 +00:00
|
|
|
#if (CONFIG_STORAGE & STORAGE_MMC)
|
2004-10-12 00:02:51 +00:00
|
|
|
int mmc_remove_request(void);
|
|
|
|
#endif
|
|
|
|
|
2007-03-16 23:47:03 +00:00
|
|
|
#if CONFIG_RTC
|
2022-03-30 12:53:40 +00:00
|
|
|
bool set_time_screen(const char* title, struct tm *tm, bool set_date);
|
2004-04-21 06:49:12 +00:00
|
|
|
#endif
|
2004-07-24 21:26:41 +00:00
|
|
|
|
|
|
|
bool shutdown_screen(void);
|
2021-12-28 07:56:16 +00:00
|
|
|
bool browse_id3(struct mp3entry *id3, int playlist_display_index, int playlist_amount);
|
2018-10-16 03:04:04 +00:00
|
|
|
int view_runtime(void);
|
2004-07-24 21:26:41 +00:00
|
|
|
|
2009-06-16 17:04:47 +00:00
|
|
|
#ifdef HAVE_TOUCHSCREEN
|
|
|
|
int calibrate(void);
|
|
|
|
int reset_mapping(void);
|
|
|
|
#endif
|
|
|
|
|
2002-09-24 17:22:12 +00:00
|
|
|
#endif
|
2003-07-17 20:29:51 +00:00
|
|
|
|