summaryrefslogtreecommitdiff
path: root/apps/abrepeat.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-13 10:24:15 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-10 22:55:26 +0100
commit50f0dd80d660b332a1739e07a630c2cef1b678c6 (patch)
treed06ff8c644092167028e0582911ab3550b29ca66 /apps/abrepeat.h
parent4262e648eb3adbd502ea57319d3fd27103a4f267 (diff)
downloadrockbox-50f0dd80d660b332a1739e07a630c2cef1b678c6.tar.gz
rockbox-50f0dd80d660b332a1739e07a630c2cef1b678c6.zip
ab_repeat: Move GUI bits to the skin engine. This allows ab_repeat to be compiled headless.
Change-Id: I4fa3b8ef7139313891ca70df11f7f17c5df38cb7
Diffstat (limited to 'apps/abrepeat.h')
-rw-r--r--apps/abrepeat.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/abrepeat.h b/apps/abrepeat.h
index 49557a34b7..ec0a07c827 100644
--- a/apps/abrepeat.h
+++ b/apps/abrepeat.h
@@ -37,14 +37,13 @@ void ab_jump_to_A_marker(void);
37void ab_reset_markers(void); 37void ab_reset_markers(void);
38void ab_set_A_marker(unsigned int song_position); 38void ab_set_A_marker(unsigned int song_position);
39void ab_set_B_marker(unsigned int song_position); 39void ab_set_B_marker(unsigned int song_position);
40/* These return whether the marker are actually set.
41 * The actual positions are returned via output parameter */
42bool ab_get_A_marker(unsigned int *song_position);
43bool ab_get_B_marker(unsigned int *song_position);
40#if (CONFIG_CODEC == SWCODEC) 44#if (CONFIG_CODEC == SWCODEC)
41void ab_end_of_track_report(void); 45void ab_end_of_track_report(void);
42#endif 46#endif
43#ifdef HAVE_LCD_BITMAP
44#include "screen_access.h"
45void ab_draw_markers(struct screen * screen, int capacity,
46 int x, int y, int w, int h);
47#endif
48 47
49/* These functions really need to be inlined for speed */ 48/* These functions really need to be inlined for speed */
50extern unsigned int ab_A_marker; 49extern unsigned int ab_A_marker;