2005-11-18 09:03:25 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2009-07-27 07:21:05 +00:00
|
|
|
* $Id: gwps-common.h 20492 2009-03-23 17:19:48Z alle $
|
2005-11-18 09:03:25 +00:00
|
|
|
*
|
2008-05-05 09:40:22 +00:00
|
|
|
* Copyright (C) 2002 Björn Stenberg
|
2005-11-18 09:03:25 +00:00
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2005-11-18 09:03:25 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
2009-08-03 15:46:21 +00:00
|
|
|
#ifndef _WPS_H_
|
|
|
|
#define _WPS_H_
|
2005-11-17 20:20:01 +00:00
|
|
|
#include <stdbool.h>
|
2009-08-03 15:46:21 +00:00
|
|
|
#include "screen_access.h"
|
2009-07-27 07:21:05 +00:00
|
|
|
|
|
|
|
long gui_wps_show(void);
|
|
|
|
|
2009-08-03 15:46:21 +00:00
|
|
|
/* wrapper for the wps to load the skin (.wps/.rwps) files */
|
|
|
|
void wps_data_load(enum screen_type, const char *, bool);
|
|
|
|
|
2009-07-27 07:21:05 +00:00
|
|
|
void gui_sync_wps_init(void);
|
2005-11-17 20:20:01 +00:00
|
|
|
|
2009-03-23 03:08:56 +00:00
|
|
|
/* fades the volume, e.g. on pause or stop */
|
2008-06-23 02:45:55 +00:00
|
|
|
void fade(bool fade_in, bool updatewps);
|
2009-03-23 03:08:56 +00:00
|
|
|
|
2005-11-17 20:20:01 +00:00
|
|
|
bool ffwd_rew(int button);
|
|
|
|
void display_keylock_text(bool locked);
|
|
|
|
|
2009-08-03 15:46:21 +00:00
|
|
|
#ifdef IPOD_ACCESSORY_PROTOCOL
|
2009-11-01 13:36:52 +00:00
|
|
|
/* whether the wps is fading the volume due to pausing/stopping */
|
|
|
|
bool is_wps_fading(void);
|
2009-08-03 15:46:21 +00:00
|
|
|
/* return length of the current ff or rewin action, IAP needs this */
|
|
|
|
int wps_get_ff_rewind_count(void);
|
|
|
|
#endif /* IPOD_ACCESSORY_PROTOCOL */
|
|
|
|
|
|
|
|
#endif /* _WPS_H_ */
|