diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-04 13:21:07 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-04 13:21:07 +0000 |
commit | a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7 (patch) | |
tree | 65d3214e15daa1efb5782e075b9841848539b334 /apps/plugins/lib/playback_control.h | |
parent | 517aca8532af3121d9c75ff293c5269f20c0b540 (diff) | |
download | rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.tar.gz rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.zip |
pluginlib: made local functions in static and made sure that source files include their own header file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/playback_control.h')
-rw-r--r-- | apps/plugins/lib/playback_control.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h index 49e789bbdc..a3a0d7afbc 100644 --- a/apps/plugins/lib/playback_control.h +++ b/apps/plugins/lib/playback_control.h | |||
@@ -20,12 +20,11 @@ | |||
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 | REMEMBER to call playback_control_init(rb) before rb->do_menu()... |
24 | The parent viewport here is needed by the internal functions, | 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 | 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 | */ |
28 | extern const struct menu_item_ex playback_control_menu; | ||
29 | void playback_control_init(struct plugin_api* newapi, | 28 | void playback_control_init(struct plugin_api* newapi, |
30 | struct viewport parent[NB_SCREENS]); | 29 | struct viewport parent[NB_SCREENS]); |
31 | 30 | ||