summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib/playback_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/playback_control.h')
-rw-r--r--apps/plugins/lib/playback_control.h5
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 @@
#ifndef __PLAYBACK_CONTROL_H__
#define __PLAYBACK_CONTROL_H__
-/* Use these if your menu uses the new menu api.
- REMEMBER to call playback_control_init(rb) before rb->do_menu()...
+/* Use these if your menu uses the new menu api.
+ REMEMBER to call playback_control_init(parent) before rb->do_menu()...
The parent viewport here is needed by the internal functions,
So, make sure you use the same viewport for the rb->do_menu() call
that you use in the playback_control_init() call
*/
+extern const struct menu_item_ex playback_control_menu;
void playback_control_init(struct viewport parent[NB_SCREENS]);
/* Use this if your menu still uses the old menu api */