diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-11-30 22:29:48 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2006-11-30 22:29:48 +0000 |
| commit | 0f02e4f7a0a202a9efb26833f156a72a3541b2f8 (patch) | |
| tree | f376a667ce28f96451c4cdf4e86d650192aeecfe /apps/plugin.c | |
| parent | cd605cffa35cff0c59026e5796aa9488ce590aea (diff) | |
| download | rockbox-0f02e4f7a0a202a9efb26833f156a72a3541b2f8.zip rockbox-0f02e4f7a0a202a9efb26833f156a72a3541b2f8.tar.gz rockbox-0f02e4f7a0a202a9efb26833f156a72a3541b2f8.tar.bz2 rockbox-0f02e4f7a0a202a9efb26833f156a72a3541b2f8.tar.xz | |
File and (recursive) directories properties in the file browser context menu. Uses dircache if possible (plugin api expanded). Is actually implemented as plugin. Small parts taken from earlier work by Will Robertson.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11630 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index e74e4a7..268fee5 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -192,6 +192,7 @@ static const struct plugin_api rockbox_api = { gui_synclist_scroll_left, #endif gui_synclist_do_button, + gui_synclist_set_title, /* button */ button_get, @@ -229,6 +230,13 @@ static const struct plugin_api rockbox_api = { PREFIX(readdir), PREFIX(mkdir), PREFIX(rmdir), + + /* dir, cached */ +#ifdef HAVE_DIRCACHE + opendir_cached, + readdir_cached, + closedir_cached, +#endif /* kernel/ system */ PREFIX(sleep), |