summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-10-17 18:28:35 +0000
committerThomas Martitz <kugel@rockbox.org>2011-10-17 18:28:35 +0000
commita13e9644b5915215a0617d2c8b279886949f136b (patch)
treec35092100c027396c5e6566760f50a5e297d4a74 /apps/plugin.c
parent55f078f4b5d5636b6f0041718f4d5b0fb91b8f33 (diff)
downloadrockbox-a13e9644b5915215a0617d2c8b279886949f136b.zip
rockbox-a13e9644b5915215a0617d2c8b279886949f136b.tar.gz
rockbox-a13e9644b5915215a0617d2c8b279886949f136b.tar.bz2
rockbox-a13e9644b5915215a0617d2c8b279886949f136b.tar.xz
- Fix some reds by implementing lcd_get_dpi().
- Use the list item centering capabilities in the plugin lib - Bump plugin ABI for the changed viewport struct (sort the API too). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 8037dab..b9c2e7c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -517,6 +517,19 @@ static const struct plugin_api rockbox_api = {
utf8encode,
utf8length,
utf8seek,
+
+ /* the buflib memory management library */
+ buflib_init,
+ buflib_available,
+ buflib_alloc,
+ buflib_alloc_ex,
+ buflib_alloc_maximum,
+ buflib_buffer_in,
+ buflib_buffer_out,
+ buflib_free,
+ buflib_shrink,
+ buflib_get_data,
+ buflib_get_name,
/* sound */
sound_set,
@@ -732,6 +745,8 @@ static const struct plugin_api rockbox_api = {
#endif
show_logo,
tree_get_context,
+ tree_get_entries,
+ tree_get_entry_at,
set_current_file,
set_dirfilter,
@@ -790,21 +805,6 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
- tree_get_entries,
- tree_get_entry_at,
-
- /* the buflib memory management library */
- buflib_init,
- buflib_available,
- buflib_alloc,
- buflib_alloc_ex,
- buflib_alloc_maximum,
- buflib_buffer_in,
- buflib_buffer_out,
- buflib_free,
- buflib_shrink,
- buflib_get_data,
- buflib_get_name,
};
int plugin_load(const char* plugin, const void* parameter)