Fix windows sim builds
[kugel-rb.git] / apps / gui / wps.h
blob1ba974cf0443d4b236e86c45b2bc9e81a470fc72
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: gwps-common.h 20492 2009-03-23 17:19:48Z alle $
10 * Copyright (C) 2002 Björn Stenberg
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
21 #ifndef _WPS_H_
22 #define _WPS_H_
23 #include <stdbool.h>
24 #include "screen_access.h"
26 long gui_wps_show(void);
28 /* wrapper for the wps to load the skin (.wps/.rwps) files */
29 void wps_data_load(enum screen_type, const char *, bool);
31 void gui_sync_wps_init(void);
33 /* fades the volume, e.g. on pause or stop */
34 void fade(bool fade_in, bool updatewps);
36 bool ffwd_rew(int button);
37 void display_keylock_text(bool locked);
39 #ifdef IPOD_ACCESSORY_PROTOCOL
40 /* whether the wps is fading the volume due to pausing/stopping */
41 bool is_wps_fading(void);
42 /* return length of the current ff or rewin action, IAP needs this */
43 int wps_get_ff_rewind_count(void);
44 #endif /* IPOD_ACCESSORY_PROTOCOL */
46 #endif /* _WPS_H_ */