Add a slot to set the progress bar value and a member to hide it.
[Rockbox.git] / apps / status.h
blobac405dda5b5c2c3569ea7f82744a398e28f12a21
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _STATUS_H
20 #define _STATUS_H
22 #if defined(HAVE_LCD_CHARCELLS)
23 extern bool record;
24 extern bool audio;
25 extern bool param;
26 extern bool usb;
27 #endif
29 enum playmode
31 STATUS_PLAY,
32 STATUS_STOP,
33 STATUS_PAUSE,
34 STATUS_FASTFORWARD,
35 STATUS_FASTBACKWARD,
36 STATUS_RECORD,
37 STATUS_RECORD_PAUSE,
38 STATUS_RADIO,
39 STATUS_RADIO_PAUSE
42 void status_init(void);
43 void status_set_ffmode(enum playmode mode);
44 enum playmode status_get_ffmode(void);
45 int current_playmode(void);
47 #ifdef SIMULATOR
48 #include <time.h>
49 #endif
50 #ifdef HAVE_LCD_CHARCELLS
51 void status_set_record(bool b);
52 void status_set_audio(bool b);
53 void status_set_param(bool b);
54 void status_set_usb(bool b);
55 #endif /* HAVE_LCD_CHARCELLS */
57 #endif /* _STATUS_H */