diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-12-13 10:24:15 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-03-10 22:55:26 +0100 |
commit | 50f0dd80d660b332a1739e07a630c2cef1b678c6 (patch) | |
tree | d06ff8c644092167028e0582911ab3550b29ca66 /apps/abrepeat.h | |
parent | 4262e648eb3adbd502ea57319d3fd27103a4f267 (diff) | |
download | rockbox-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.h | 9 |
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); | |||
37 | void ab_reset_markers(void); | 37 | void ab_reset_markers(void); |
38 | void ab_set_A_marker(unsigned int song_position); | 38 | void ab_set_A_marker(unsigned int song_position); |
39 | void ab_set_B_marker(unsigned int song_position); | 39 | void 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 */ | ||
42 | bool ab_get_A_marker(unsigned int *song_position); | ||
43 | bool ab_get_B_marker(unsigned int *song_position); | ||
40 | #if (CONFIG_CODEC == SWCODEC) | 44 | #if (CONFIG_CODEC == SWCODEC) |
41 | void ab_end_of_track_report(void); | 45 | void ab_end_of_track_report(void); |
42 | #endif | 46 | #endif |
43 | #ifdef HAVE_LCD_BITMAP | ||
44 | #include "screen_access.h" | ||
45 | void 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 */ |
50 | extern unsigned int ab_A_marker; | 49 | extern unsigned int ab_A_marker; |