diff options
author | Dave Chapman <dave@dchapman.com> | 2005-09-22 08:54:48 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-09-22 08:54:48 +0000 |
commit | 548c1b72c00087364c8c5ccec354a9ede1724d45 (patch) | |
tree | 873c4b5b56fec0b21a6214a5817b5b0d6ef2c697 /apps/plugin.c | |
parent | 6afb017642a82aabbcd6f4ea5c31ec5d3945f5f8 (diff) | |
download | rockbox-548c1b72c00087364c8c5ccec354a9ede1724d45.tar.gz rockbox-548c1b72c00087364c8c5ccec354a9ede1724d45.zip |
Added menu interface to plugin API - needed by Sudoku
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7533 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 7d3b13c726..6748a19355 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -341,6 +341,20 @@ static const struct plugin_api rockbox_api = { | |||
341 | 341 | ||
342 | /* new stuff at the end, sort into place next time | 342 | /* new stuff at the end, sort into place next time |
343 | the API gets incompatible */ | 343 | the API gets incompatible */ |
344 | |||
345 | menu_init, | ||
346 | menu_exit, | ||
347 | menu_show, | ||
348 | menu_run, | ||
349 | menu_cursor, | ||
350 | menu_description, | ||
351 | menu_delete, | ||
352 | menu_count, | ||
353 | menu_moveup, | ||
354 | menu_movedown, | ||
355 | menu_draw, | ||
356 | menu_insert, | ||
357 | menu_set_cursor, | ||
344 | }; | 358 | }; |
345 | 359 | ||
346 | int plugin_load(const char* plugin, void* parameter) | 360 | int plugin_load(const char* plugin, void* parameter) |