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 Linus Nielsen Feltzing
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 _STATUS_H
22#define _STATUS_H
23
24/* Do not reorder these, inbuilt statusbar icons and the
25 * skin engine %mp tag depend on this ordering. */
26enum playmode
27{
28 STATUS_PLAY,
29 STATUS_STOP,
30 STATUS_PAUSE,
31 STATUS_FASTFORWARD,
32 STATUS_FASTBACKWARD,
33 STATUS_RECORD,
34 STATUS_RECORD_PAUSE,
35 STATUS_RADIO,
36 STATUS_RADIO_PAUSE
37};
38
39void status_set_ffmode(enum playmode mode);
40enum playmode status_get_ffmode(void);
41int current_playmode(void);
42
43#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
44#include <time.h>
45#endif
46
47#endif /* _STATUS_H */