summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-02-25 12:14:36 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-02-25 12:14:36 +0000
commit0cf4cab4319c5cfe3960b73ae835f5f4e5e7f525 (patch)
tree2f61f211473e755445ac932bec7de9a60ce8e269
parent6f3c42284b5067fb13d1855516df16adad117d4e (diff)
downloadrockbox-0cf4cab4319c5cfe3960b73ae835f5f4e5e7f525.tar.gz
rockbox-0cf4cab4319c5cfe3960b73ae835f5f4e5e7f525.zip
plugins/lib: remove out-dated comments about plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24907 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/lib/configfile.h2
-rw-r--r--apps/plugins/lib/grey_core.c1
-rw-r--r--apps/plugins/lib/overlay.c1
-rw-r--r--apps/plugins/lib/playback_control.h5
4 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/lib/configfile.h b/apps/plugins/lib/configfile.h
index 5dc31735a3..231a833d9c 100644
--- a/apps/plugins/lib/configfile.h
+++ b/apps/plugins/lib/configfile.h
@@ -24,7 +24,7 @@
24#define TYPE_INT 1 24#define TYPE_INT 1
25#define TYPE_ENUM 2 25#define TYPE_ENUM 2
26#define TYPE_STRING 3 26#define TYPE_STRING 3
27#define TYPE_BOOL 4 27#define TYPE_BOOL 4
28 28
29struct configdata 29struct configdata
30{ 30{
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index 6fa422be05..f61743b8aa 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -479,7 +479,6 @@ static void fill_gvalues(void)
479/* Initialise the framework and prepare the greyscale display buffer 479/* Initialise the framework and prepare the greyscale display buffer
480 480
481 arguments: 481 arguments:
482 newrb = pointer to plugin api
483 gbuf = pointer to the memory area to use (e.g. plugin buffer) 482 gbuf = pointer to the memory area to use (e.g. plugin buffer)
484 gbuf_size = max usable size of the buffer 483 gbuf_size = max usable size of the buffer
485 features = flags for requesting features 484 features = flags for requesting features
diff --git a/apps/plugins/lib/overlay.c b/apps/plugins/lib/overlay.c
index 44bca1d989..fb779e4f82 100644
--- a/apps/plugins/lib/overlay.c
+++ b/apps/plugins/lib/overlay.c
@@ -28,7 +28,6 @@
28/* load and run a plugin linked as an overlay. 28/* load and run a plugin linked as an overlay.
29 29
30 arguments: 30 arguments:
31 rb = pointer to plugin api, also passed on to the overlay
32 parameter = plugin parameter, passed on to the overlay 31 parameter = plugin parameter, passed on to the overlay
33 filename = overlay file name, absolute path as usual 32 filename = overlay file name, absolute path as usual
34 name = overlay display name 33 name = overlay display name
diff --git a/apps/plugins/lib/playback_control.h b/apps/plugins/lib/playback_control.h
index 43719615ad..3762837740 100644
--- a/apps/plugins/lib/playback_control.h
+++ b/apps/plugins/lib/playback_control.h
@@ -21,12 +21,13 @@
21#ifndef __PLAYBACK_CONTROL_H__ 21#ifndef __PLAYBACK_CONTROL_H__
22#define __PLAYBACK_CONTROL_H__ 22#define __PLAYBACK_CONTROL_H__
23 23
24/* Use these if your menu uses the new menu api. 24/* Use these if your menu uses the new menu api.
25 REMEMBER to call playback_control_init(rb) before rb->do_menu()... 25 REMEMBER to call playback_control_init(parent) before rb->do_menu()...
26 The parent viewport here is needed by the internal functions, 26 The parent viewport here is needed by the internal functions,
27 So, make sure you use the same viewport for the rb->do_menu() call 27 So, make sure you use the same viewport for the rb->do_menu() call
28 that you use in the playback_control_init() call 28 that you use in the playback_control_init() call
29*/ 29*/
30extern const struct menu_item_ex playback_control_menu;
30void playback_control_init(struct viewport parent[NB_SCREENS]); 31void playback_control_init(struct viewport parent[NB_SCREENS]);
31 32
32/* Use this if your menu still uses the old menu api */ 33/* Use this if your menu still uses the old menu api */