summaryrefslogtreecommitdiff
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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h
index 6029152dcf..49e789bbdc 100644
--- a/apps/plugins/lib/playback_control.h
+++ b/apps/plugins/lib/playback_control.h
@@ -20,9 +20,14 @@
20#define __PLAYBACK_CONTROL_H__ 20#define __PLAYBACK_CONTROL_H__
21 21
22/* Use these if your menu uses the new menu api. 22/* Use these if your menu uses the new menu api.
23 REMEBER to call playback_control_init(rb) before rb->do_menu()... */ 23 REMEBER to call playback_control_init(rb) before rb->do_menu()...
24 The parent viewport here is needed by the internal functions,
25 So, make sure you use the same viewport for the rb->do_menu() call
26 that you use in the playback_control_init() call
27*/
24extern const struct menu_item_ex playback_control_menu; 28extern const struct menu_item_ex playback_control_menu;
25void playback_control_init(struct plugin_api* newapi); 29void playback_control_init(struct plugin_api* newapi,
30 struct viewport parent[NB_SCREENS]);
26 31
27/* Use this if your menu still uses the old menu api */ 32/* Use this if your menu still uses the old menu api */
28bool playback_control(struct plugin_api* api, 33bool playback_control(struct plugin_api* api,