summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2011-01-17 12:40:21 +0000
committerTeruaki Kawashima <teru@rockbox.org>2011-01-17 12:40:21 +0000
commit1c14d29370cfc35d5c89d2256edf00f914e0bc20 (patch)
tree1721ab488af125559b8be06710d744494044bb54 /apps/plugin.h
parent05f6f3419aec991307e7c81e0738e0496a21d89b (diff)
downloadrockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.zip
rockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.tar.gz
rockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.tar.bz2
rockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.tar.xz
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e9e93d0..cd53ac6 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 */