From 0c458c043a2e95cfed15d143ff0053b44b6a425c Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 13 Jul 2004 14:01:41 +0000 Subject: The plugin API now supports ctype macros like tolower() and friends git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4872 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index e9c538f..983e499 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "debug.h" #include "button.h" #include "lcd.h" @@ -147,6 +148,9 @@ static struct plugin_api rockbox_api = { strlen, memset, memcpy, +#ifndef SIMULATOR + _ctype_, +#endif /* sound */ #ifndef SIMULATOR @@ -209,6 +213,7 @@ static struct plugin_api rockbox_api = { mpeg_next_track, playlist_amount, mpeg_status, + mpeg_has_changed_track, #ifdef HAVE_LCD_BITMAP font_get, #endif @@ -230,6 +235,7 @@ static struct plugin_api rockbox_api = { #endif battery_level, set_time, + reset_poweroff_timer, backlight_on, backlight_off, @@ -237,9 +243,6 @@ static struct plugin_api rockbox_api = { #ifdef HAVE_LCD_CHARCELLS lcd_icon, #endif - - reset_poweroff_timer, - mpeg_has_changed_track, }; int plugin_load(char* plugin, void* parameter) -- cgit v1.1