Kill warnings that annoy me when building for Gigabeat S.
[kugel-rb.git] / apps / status.h
blobf42352be8e7d4a9d1ae45ebfa6550932ac51d2d4
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 extern enum playmode ff_mode;
24 #if defined(HAVE_LCD_CHARCELLS)
25 extern bool record;
26 extern bool audio;
27 extern bool param;
28 extern bool usb;
29 #endif
31 enum playmode
33 STATUS_PLAY,
34 STATUS_STOP,
35 STATUS_PAUSE,
36 STATUS_FASTFORWARD,
37 STATUS_FASTBACKWARD,
38 STATUS_RECORD,
39 STATUS_RECORD_PAUSE,
40 STATUS_RADIO,
41 STATUS_RADIO_PAUSE
44 void status_init(void);
45 void status_set_ffmode(enum playmode mode);
46 enum playmode status_get_ffmode(void);
47 int current_playmode(void);
49 #ifdef SIMULATOR
50 #include <time.h>
51 #endif
52 #ifdef HAVE_LCD_CHARCELLS
53 void status_set_record(bool b);
54 void status_set_audio(bool b);
55 void status_set_param(bool b);
56 void status_set_usb(bool b);
57 #endif /* HAVE_LCD_CHARCELLS */
59 #endif /* _STATUS_H */