diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-20 17:11:23 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-20 17:11:23 +0000 |
| commit | 2da0f9bcfdf056255b298c0e61f0f4f0f950f869 (patch) | |
| tree | 4bb8e4de0f500f73b6e81ce347c0b36ab763e4bf /apps/plugin.c | |
| parent | 5f52f6ee01fdd060fab9b72736daf06b3dbda212 (diff) | |
| download | rockbox-2da0f9bcfdf056255b298c0e61f0f4f0f950f869.zip rockbox-2da0f9bcfdf056255b298c0e61f0f4f0f950f869.tar.gz rockbox-2da0f9bcfdf056255b298c0e61f0f4f0f950f869.tar.bz2 rockbox-2da0f9bcfdf056255b298c0e61f0f4f0f950f869.tar.xz | |
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
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 5 insertions, 3 deletions
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) |