summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 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 */