summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:01:41 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:01:41 +0000
commit0c458c043a2e95cfed15d143ff0053b44b6a425c (patch)
tree3f4cdfa76f06d593322c64b34cbdc9d889e02f6c /apps/plugin.c
parentae9b319ec555fd9b33c5c37b68b5578442e9de9f (diff)
downloadrockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.zip
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.gz
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.bz2
rockbox-0c458c043a2e95cfed15d143ff0053b44b6a425c.tar.xz
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
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c9
1 files changed, 6 insertions, 3 deletions
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 <stdio.h>
#include <atoi.h>
#include <timefuncs.h>
+#include <ctype.h>
#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)