1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
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 ****************************************************************************/
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);
30 void wps_data_init(enum screen_type
);
32 void gui_sync_wps_init(void);
34 /* fades the volume, e.g. on pause or stop */
35 void fade(bool fade_in
, bool updatewps
);
37 bool ffwd_rew(int button
);
38 void display_keylock_text(bool locked
);
40 bool is_wps_fading(void);
45 * Returns true if at least one of the gui_wps screens has an album art
46 * tag in its wps structure and writes the width and height into the passed
49 bool wps_uses_albumart(int*, int*);
52 #ifdef IPOD_ACCESSORY_PROTOCOL
53 /* return length of the current ff or rewin action, IAP needs this */
54 int wps_get_ff_rewind_count(void);
55 #endif /* IPOD_ACCESSORY_PROTOCOL */