diff options
Diffstat (limited to 'apps/plugins/lib/playback_control.h')
-rw-r--r-- | apps/plugins/lib/playback_control.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h index a259fc9194..679a89000f 100644 --- a/apps/plugins/lib/playback_control.h +++ b/apps/plugins/lib/playback_control.h | |||
@@ -19,6 +19,12 @@ | |||
19 | #ifndef __PLAYBACK_CONTROL_H__ | 19 | #ifndef __PLAYBACK_CONTROL_H__ |
20 | #define __PLAYBACK_CONTROL_H__ | 20 | #define __PLAYBACK_CONTROL_H__ |
21 | 21 | ||
22 | /* Use these if your menu uses the new menu api. | ||
23 | REMEBER to call playback_control_init(rb) before rb->do_menu()... */ | ||
24 | extern const struct menu_item_ex *playback_control_menu; | ||
25 | void playback_control_init(struct plugin_api* newapi); | ||
26 | |||
27 | /* Use this if your menu still uses the old menu api */ | ||
22 | bool playback_control(struct plugin_api* api); | 28 | bool playback_control(struct plugin_api* api); |
23 | 29 | ||
24 | #endif /* __PLAYBACK_CONTROL_H__ */ | 30 | #endif /* __PLAYBACK_CONTROL_H__ */ |