A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 Björn Stenberg
11 *
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.
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
24#include "config.h"
25#include "timefuncs.h"
26#include "metadata.h"
27#ifndef WARBLE
28#include "playlist.h"
29#endif
30
31struct screen;
32
33#if CONFIG_CHARGING || defined(SIMULATOR)
34void charging_splash(void);
35#endif
36
37#if (CONFIG_STORAGE & STORAGE_MMC)
38int mmc_remove_request(void);
39#endif
40
41#if CONFIG_RTC
42bool set_time_screen(const char* title, struct tm *tm, bool set_date);
43#endif
44
45#ifndef WARBLE
46bool browse_id3_ex(struct mp3entry *id3, struct playlist_info *playlist,
47 int playlist_display_index, int playlist_amount,
48 struct tm *modified, int track_ct,
49 int (*view_text)(const char *title, const char *text));
50#endif
51bool browse_id3(struct mp3entry *id3, int playlist_display_index, int playlist_amount,
52 struct tm *modified, int track_ct,
53 int (*view_text)(const char *title, const char *text));
54int view_runtime(void);
55
56#ifdef HAVE_TOUCHSCREEN
57int calibrate(void);
58int reset_mapping(void);
59#endif
60
61#endif
62