diff options
Diffstat (limited to 'apps/gui/wps_engine/wps_engine.h')
-rw-r--r-- | apps/gui/wps_engine/wps_engine.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/apps/gui/wps_engine/wps_engine.h b/apps/gui/wps_engine/wps_engine.h new file mode 100644 index 0000000000..fe034f9138 --- /dev/null +++ b/apps/gui/wps_engine/wps_engine.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: gwps.h 22003 2009-07-22 22:10:25Z kugel $ | ||
9 | * | ||
10 | * Copyright (C) 2007 Nicolas Pennequin | ||
11 | * | ||
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. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | /** Use this for stuff which external code needs to include **/ | ||
23 | |||
24 | #ifndef _WPS_ENGINE_H | ||
25 | #define _WPS_ENGINE_H | ||
26 | #include <stdbool.h> | ||
27 | #include "wps_internals.h" /* TODO: remove this line.. shoudlnt be needed */ | ||
28 | |||
29 | |||
30 | #ifdef HAVE_TOUCHSCREEN | ||
31 | int wps_get_touchaction(struct wps_data *data); | ||
32 | #endif | ||
33 | |||
34 | #ifdef HAVE_ALBUMART | ||
35 | /* gives back if WPS contains an albumart tag */ | ||
36 | bool gui_sync_wps_uses_albumart(void); | ||
37 | #endif | ||
38 | |||
39 | /* setup and display a WPS for the first time */ | ||
40 | bool gui_wps_display(struct gui_wps *gwps); | ||
41 | /* do a requested redraw */ | ||
42 | bool gui_wps_redraw(struct gui_wps *gwps, | ||
43 | int ffwd_offset, | ||
44 | unsigned refresh_mode); | ||
45 | /* do a partial redraw, or full if required, also do any housekeeping | ||
46 | * which might be needed */ | ||
47 | bool gui_wps_update(struct gui_wps *gwps); | ||
48 | |||
49 | #endif | ||