diff options
Diffstat (limited to 'apps/gui/wps.h')
-rw-r--r-- | apps/gui/wps.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/apps/gui/wps.h b/apps/gui/wps.h index a463b0e9bb..a2893a3902 100644 --- a/apps/gui/wps.h +++ b/apps/gui/wps.h | |||
@@ -20,32 +20,19 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #ifndef _WPS_H_ | 21 | #ifndef _WPS_H_ |
22 | #define _WPS_H_ | 22 | #define _WPS_H_ |
23 | |||
23 | #include <stdbool.h> | 24 | #include <stdbool.h> |
24 | #include "config.h" | ||
25 | #include "screen_access.h" | ||
26 | |||
27 | long gui_wps_show(void); | ||
28 | |||
29 | /* wrapper for the wps to load the skin (.wps/.rwps) files */ | ||
30 | void wps_data_load(enum screen_type, const char *, bool); | ||
31 | 25 | ||
32 | void gui_sync_wps_init(void) INIT_ATTR; | 26 | long gui_wps_show(void); |
33 | 27 | ||
34 | /* fade (if enabled) and pause the audio, optionally rewind a little */ | 28 | /* fade (if enabled) and pause the audio, optionally rewind a little */ |
35 | void pause_action(bool may_fade, bool updatewps); | 29 | void pause_action(bool may_fade, bool updatewps); |
36 | void unpause_action(bool may_fade, bool updatewps); | 30 | void unpause_action(bool may_fade, bool updatewps); |
37 | |||
38 | /* fades the volume, e.g. on pause or stop */ | ||
39 | void fade(bool fade_in, bool updatewps); | ||
40 | |||
41 | bool ffwd_rew(int button); | ||
42 | void wps_do_playpause(bool updatewps); | 31 | void wps_do_playpause(bool updatewps); |
43 | 32 | ||
44 | #ifdef IPOD_ACCESSORY_PROTOCOL | 33 | #ifdef IPOD_ACCESSORY_PROTOCOL |
45 | /* whether the wps is fading the volume due to pausing/stopping */ | 34 | /* whether the wps is fading the volume due to pausing/stopping */ |
46 | bool is_wps_fading(void); | 35 | bool is_wps_fading(void); |
47 | /* return length of the current ff or rewin action, IAP needs this */ | ||
48 | int wps_get_ff_rewind_count(void); | ||
49 | #endif /* IPOD_ACCESSORY_PROTOCOL */ | 36 | #endif /* IPOD_ACCESSORY_PROTOCOL */ |
50 | 37 | ||
51 | /* in milliseconds */ | 38 | /* in milliseconds */ |