summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMustapha Senhaji <moos@rockbox.org>2010-12-28 14:18:37 +0000
committerMustapha Senhaji <moos@rockbox.org>2010-12-28 14:18:37 +0000
commit39b3c9a61279b1856ce7e6cef132b09c9befbb48 (patch)
tree9caa034391a054d5ce05261c03cac3a60f382ba1 /apps
parent4d39c9fb2e54eb33736fb1ee45b34dc335a49ea1 (diff)
downloadrockbox-39b3c9a61279b1856ce7e6cef132b09c9befbb48.zip
rockbox-39b3c9a61279b1856ce7e6cef132b09c9befbb48.tar.gz
rockbox-39b3c9a61279b1856ce7e6cef132b09c9befbb48.tar.bz2
rockbox-39b3c9a61279b1856ce7e6cef132b09c9befbb48.tar.xz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index f28593e..a8fff83 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -726,6 +726,7 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+ filetype_get_attr,
};
int plugin_load(const char* plugin, const void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index 3f80096..b825272 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -112,6 +112,8 @@ void* plugin_get_buffer(size_t *buffer_size);
#include "yesno.h"
+#include "filetypes.h"
+
#ifdef USB_ENABLE_HID
#include "usbstack/usb_hid_usage_tables.h"
#endif
@@ -152,7 +154,7 @@ void* plugin_get_buffer(size_t *buffer_size);
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 195
+#define PLUGIN_MIN_API_VERSION 196
/* plugin return codes */
/* internal returns start at 0x100 to make exit(1..255) work */
@@ -899,6 +901,7 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+ int (*filetype_get_attr)(const char* file);
};
/* plugin header */