diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-07-09 22:36:23 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-07-09 22:36:23 +0000 |
commit | 0ef911d43c364fe535111c59abab54e10dc06ce1 (patch) | |
tree | b3987f22b44c8067085e4375ceb0267126effcb2 /apps/plugin.c | |
parent | 9f372f1f59524e7228aaddfb685f1eb4a70e35bf (diff) | |
download | rockbox-0ef911d43c364fe535111c59abab54e10dc06ce1.tar.gz rockbox-0ef911d43c364fe535111c59abab54e10dc06ce1.zip |
Added widgets and keyboard to plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3823 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 7f91415755..01604c0e24 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -30,6 +30,11 @@ | |||
30 | #include "mas.h" | 30 | #include "mas.h" |
31 | #include "plugin.h" | 31 | #include "plugin.h" |
32 | #include "lang.h" | 32 | #include "lang.h" |
33 | #include "keyboard.h" | ||
34 | |||
35 | #ifdef HAVE_LCD_BITMAP | ||
36 | #include "widgets.h" | ||
37 | #endif | ||
33 | 38 | ||
34 | #ifdef SIMULATOR | 39 | #ifdef SIMULATOR |
35 | #include <debug.h> | 40 | #include <debug.h> |
@@ -73,6 +78,9 @@ static struct plugin_api rockbox_api = { | |||
73 | lcd_getstringsize, | 78 | lcd_getstringsize, |
74 | lcd_update, | 79 | lcd_update, |
75 | lcd_update_rect, | 80 | lcd_update_rect, |
81 | progressbar, | ||
82 | slidebar, | ||
83 | scrollbar, | ||
76 | #ifndef SIMULATOR | 84 | #ifndef SIMULATOR |
77 | lcd_roll, | 85 | lcd_roll, |
78 | #endif | 86 | #endif |
@@ -125,6 +133,7 @@ static struct plugin_api rockbox_api = { | |||
125 | rand, | 133 | rand, |
126 | splash, | 134 | splash, |
127 | qsort, | 135 | qsort, |
136 | kbd_input, | ||
128 | }; | 137 | }; |
129 | 138 | ||
130 | int plugin_load(char* plugin, void* parameter) | 139 | int plugin_load(char* plugin, void* parameter) |