From 2da0f9bcfdf056255b298c0e61f0f4f0f950f869 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 20 Jan 2011 17:11:23 +0000 Subject: Fuze v2: Do button reading more efficiently by mapping button codes directly to the GPIO pin states where possible (all but 'home' and hold). This makes plugins incompatible; up the min version and sort things. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29097 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 20ff190..690aee9 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -382,6 +382,7 @@ static const struct plugin_api rockbox_api = { file_exists, strip_extension, crc_32, + filetype_get_attr, /* dir */ (opendir_func)PREFIX(opendir), @@ -392,6 +393,10 @@ static const struct plugin_api rockbox_api = { dir_exists, dir_get_info, + /* browsing */ + browse_context_init, + rockbox_browse, + /* kernel/ system */ #if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE __div0, @@ -772,9 +777,6 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ - filetype_get_attr, - browse_context_init, - rockbox_browse, }; int plugin_load(const char* plugin, const void* parameter) -- cgit v1.1