diff options
Diffstat (limited to 'apps/plugins/lib/playback_control.h')
-rw-r--r-- | apps/plugins/lib/playback_control.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h index 43719615ad..3762837740 100644 --- a/apps/plugins/lib/playback_control.h +++ b/apps/plugins/lib/playback_control.h | |||
@@ -21,12 +21,13 @@ | |||
21 | #ifndef __PLAYBACK_CONTROL_H__ | 21 | #ifndef __PLAYBACK_CONTROL_H__ |
22 | #define __PLAYBACK_CONTROL_H__ | 22 | #define __PLAYBACK_CONTROL_H__ |
23 | 23 | ||
24 | /* Use these if your menu uses the new menu api. | 24 | /* Use these if your menu uses the new menu api. |
25 | REMEMBER to call playback_control_init(rb) before rb->do_menu()... | 25 | REMEMBER to call playback_control_init(parent) before rb->do_menu()... |
26 | The parent viewport here is needed by the internal functions, | 26 | The parent viewport here is needed by the internal functions, |
27 | So, make sure you use the same viewport for the rb->do_menu() call | 27 | So, make sure you use the same viewport for the rb->do_menu() call |
28 | that you use in the playback_control_init() call | 28 | that you use in the playback_control_init() call |
29 | */ | 29 | */ |
30 | extern const struct menu_item_ex playback_control_menu; | ||
30 | void playback_control_init(struct viewport parent[NB_SCREENS]); | 31 | void playback_control_init(struct viewport parent[NB_SCREENS]); |
31 | 32 | ||
32 | /* Use this if your menu still uses the old menu api */ | 33 | /* Use this if your menu still uses the old menu api */ |