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
This commit is contained in:
Bertrik Sikken 2008-05-04 13:21:07 +00:00
parent 517aca8532
commit a36c8f1db3
9 changed files with 23 additions and 19 deletions

View file

@ -20,12 +20,11 @@
#define __PLAYBACK_CONTROL_H__
/* Use these if your menu uses the new menu api.
REMEBER to call playback_control_init(rb) before rb->do_menu()...
REMEMBER to call playback_control_init(rb) 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 plugin_api* newapi,
struct viewport parent[NB_SCREENS]);