diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-10-20 21:54:59 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-20 21:54:59 +0000 |
| commit | d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e (patch) | |
| tree | 2f51ed47fee689024ed8c145634044362c8ed7d5 /apps/plugin.c | |
| parent | 774bacc692b4d5c7b769bb88d24e182db9e4656f (diff) | |
| download | rockbox-d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e.zip rockbox-d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e.tar.gz rockbox-d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e.tar.bz2 rockbox-d85c3ec41020a6c56b0d5d95a9ed790f57d73c6e.tar.xz | |
Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar).
Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing).
Removed corresponding functions from the core and plugin api. Bump min version and sort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 77fb925..ae889d6 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -155,7 +155,6 @@ static const struct plugin_api rockbox_api = { lcd_set_mode, #endif #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) - lcd_activation_set_hook, &button_queue, #endif bidi_l2v, @@ -255,6 +254,7 @@ static const struct plugin_api rockbox_api = { button_status, #ifdef HAVE_BUTTON_DATA button_get_data, + button_status_wdata, #endif button_clear_queue, button_queue_count, @@ -376,6 +376,9 @@ static const struct plugin_api rockbox_api = { __cyg_profile_func_enter, __cyg_profile_func_exit, #endif + add_event, + remove_event, + send_event, #ifdef SIMULATOR /* special simulator hooks */ @@ -668,9 +671,6 @@ static const struct plugin_api rockbox_api = { appsversion, /* new stuff at the end, sort into place next time the API gets incompatible */ -#ifdef HAVE_BUTTON_DATA - button_status_wdata, -#endif }; int plugin_load(const char* plugin, const void* parameter) |