From 1c14d29370cfc35d5c89d2256edf00f914e0bc20 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Mon, 17 Jan 2011 12:40:21 +0000 Subject: FS#11822: use rockbox_browse() in plugins to select file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29069 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index e9e93d00bd..cd53ac6574 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -149,7 +149,7 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 196 +#define PLUGIN_API_VERSION 197 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -902,6 +902,11 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ int (*filetype_get_attr)(const char* file); + void (*browse_context_init)(struct browse_context *browse, + int dirfilter, unsigned flags, + char *title, enum themable_icons icon, + const char *root, const char *selected); + int (*rockbox_browse)(struct browse_context *browse); }; /* plugin header */ -- cgit v1.2.3