summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/playback_control.h
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
commit652657781805d9cc10d744a49fb23eb17019fbbf (patch)
tree2d1a6ae597a17531f726b57fd9f8cbaa2a46a07f /apps/plugins/lib/playback_control.h
parenta94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff)
downloadrockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.gz
rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.zip
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/playback_control.h')
-rw-r--r--apps/plugins/lib/playback_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h
index a3a0d7afbc..23b586095e 100644
--- a/apps/plugins/lib/playback_control.h
+++ b/apps/plugins/lib/playback_control.h
@@ -25,11 +25,11 @@
25 So, make sure you use the same viewport for the rb->do_menu() call 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 26 that you use in the playback_control_init() call
27*/ 27*/
28void playback_control_init(struct plugin_api* newapi, 28void playback_control_init(const struct plugin_api* newapi,
29 struct viewport parent[NB_SCREENS]); 29 struct viewport parent[NB_SCREENS]);
30 30
31/* Use this if your menu still uses the old menu api */ 31/* Use this if your menu still uses the old menu api */
32bool playback_control(struct plugin_api* api, 32bool playback_control(const struct plugin_api* api,
33 struct viewport parent[NB_SCREENS]); 33 struct viewport parent[NB_SCREENS]);
34 34
35#endif /* __PLAYBACK_CONTROL_H__ */ 35#endif /* __PLAYBACK_CONTROL_H__ */