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:
parent
6f3c42284b
commit
0cf4cab431
4 changed files with 4 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
#define TYPE_INT 1
|
||||
#define TYPE_ENUM 2
|
||||
#define TYPE_STRING 3
|
||||
#define TYPE_BOOL 4
|
||||
#define TYPE_BOOL 4
|
||||
|
||||
struct configdata
|
||||
{
|
||||
|
|
|
@ -479,7 +479,6 @@ static void fill_gvalues(void)
|
|||
/* Initialise the framework and prepare the greyscale display buffer
|
||||
|
||||
arguments:
|
||||
newrb = pointer to plugin api
|
||||
gbuf = pointer to the memory area to use (e.g. plugin buffer)
|
||||
gbuf_size = max usable size of the buffer
|
||||
features = flags for requesting features
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
/* load and run a plugin linked as an overlay.
|
||||
|
||||
arguments:
|
||||
rb = pointer to plugin api, also passed on to the overlay
|
||||
parameter = plugin parameter, passed on to the overlay
|
||||
filename = overlay file name, absolute path as usual
|
||||
name = overlay display name
|
||||
|
|
|
@ -21,12 +21,13 @@
|
|||
#ifndef __PLAYBACK_CONTROL_H__
|
||||
#define __PLAYBACK_CONTROL_H__
|
||||
|
||||
/* Use these if your menu uses the new menu api.
|
||||
REMEMBER to call playback_control_init(rb) before rb->do_menu()...
|
||||
/* Use these if your menu uses the new menu api.
|
||||
REMEMBER to call playback_control_init(parent) 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 viewport parent[NB_SCREENS]);
|
||||
|
||||
/* Use this if your menu still uses the old menu api */
|
||||
|
|
Loading…
Reference in a new issue