plugins/lib: remove out-dated comments about plugin api.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24907 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-02-25 12:14:36 +00:00
parent 6f3c42284b
commit 0cf4cab431
4 changed files with 4 additions and 5 deletions

View file

@ -24,7 +24,7 @@
#define TYPE_INT 1 #define TYPE_INT 1
#define TYPE_ENUM 2 #define TYPE_ENUM 2
#define TYPE_STRING 3 #define TYPE_STRING 3
#define TYPE_BOOL 4 #define TYPE_BOOL 4
struct configdata struct configdata
{ {

View file

@ -479,7 +479,6 @@ static void fill_gvalues(void)
/* Initialise the framework and prepare the greyscale display buffer /* Initialise the framework and prepare the greyscale display buffer
arguments: arguments:
newrb = pointer to plugin api
gbuf = pointer to the memory area to use (e.g. plugin buffer) gbuf = pointer to the memory area to use (e.g. plugin buffer)
gbuf_size = max usable size of the buffer gbuf_size = max usable size of the buffer
features = flags for requesting features features = flags for requesting features

View file

@ -28,7 +28,6 @@
/* load and run a plugin linked as an overlay. /* load and run a plugin linked as an overlay.
arguments: arguments:
rb = pointer to plugin api, also passed on to the overlay
parameter = plugin parameter, passed on to the overlay parameter = plugin parameter, passed on to the overlay
filename = overlay file name, absolute path as usual filename = overlay file name, absolute path as usual
name = overlay display name name = overlay display name

View file

@ -21,12 +21,13 @@
#ifndef __PLAYBACK_CONTROL_H__ #ifndef __PLAYBACK_CONTROL_H__
#define __PLAYBACK_CONTROL_H__ #define __PLAYBACK_CONTROL_H__
/* Use these if your menu uses the new menu api. /* Use these if your menu uses the new menu api.
REMEMBER to call playback_control_init(rb) before rb->do_menu()... REMEMBER to call playback_control_init(parent) before rb->do_menu()...
The parent viewport here is needed by the internal functions, The parent viewport here is needed by the internal functions,
So, make sure you use the same viewport for the rb->do_menu() call So, make sure you use the same viewport for the rb->do_menu() call
that you use in the playback_control_init() call that you use in the playback_control_init() call
*/ */
extern const struct menu_item_ex playback_control_menu;
void playback_control_init(struct viewport parent[NB_SCREENS]); void playback_control_init(struct viewport parent[NB_SCREENS]);
/* Use this if your menu still uses the old menu api */ /* Use this if your menu still uses the old menu api */