diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2011-01-17 12:40:21 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2011-01-17 12:40:21 +0000 |
commit | 1c14d29370cfc35d5c89d2256edf00f914e0bc20 (patch) | |
tree | 1721ab488af125559b8be06710d744494044bb54 /apps/plugin.h | |
parent | 05f6f3419aec991307e7c81e0738e0496a21d89b (diff) | |
download | rockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.tar.gz rockbox-1c14d29370cfc35d5c89d2256edf00f914e0bc20.zip |
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
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); | |||
149 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 149 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
150 | 150 | ||
151 | /* increase this every time the api struct changes */ | 151 | /* increase this every time the api struct changes */ |
152 | #define PLUGIN_API_VERSION 196 | 152 | #define PLUGIN_API_VERSION 197 |
153 | 153 | ||
154 | /* update this to latest version if a change to the api struct breaks | 154 | /* update this to latest version if a change to the api struct breaks |
155 | backwards compatibility (and please take the opportunity to sort in any | 155 | backwards compatibility (and please take the opportunity to sort in any |
@@ -902,6 +902,11 @@ struct plugin_api { | |||
902 | /* new stuff at the end, sort into place next time | 902 | /* new stuff at the end, sort into place next time |
903 | the API gets incompatible */ | 903 | the API gets incompatible */ |
904 | int (*filetype_get_attr)(const char* file); | 904 | int (*filetype_get_attr)(const char* file); |
905 | void (*browse_context_init)(struct browse_context *browse, | ||
906 | int dirfilter, unsigned flags, | ||
907 | char *title, enum themable_icons icon, | ||
908 | const char *root, const char *selected); | ||
909 | int (*rockbox_browse)(struct browse_context *browse); | ||
905 | }; | 910 | }; |
906 | 911 | ||
907 | /* plugin header */ | 912 | /* plugin header */ |