summaryrefslogtreecommitdiffstats
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-02-11 16:37:12 +0000
committerThomas Martitz <kugel@rockbox.org>2009-02-11 16:37:12 +0000
commit548109084f739cf74d2263cbd136f82eb67ea9d5 (patch)
tree65038ab71d12e0ee6cb236b518b0ccf3bb531c8c /apps/plugin.h
parentf2d5c3532fd21c04e77aa86732742b578283b697 (diff)
downloadrockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.tar.gz
rockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.zip
Increase codec and plugin API version (due to changes it r19971), and sort the recently added things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 715f2ec512..50598d5309 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -127,12 +127,12 @@ 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 142
+#define PLUGIN_API_VERSION 143
/* 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 142
+#define PLUGIN_MIN_API_VERSION 143
/* plugin return codes */
enum plugin_status {
@@ -389,6 +389,7 @@ struct plugin_api {
const char *prefix, const char *suffix,
int numberlen IF_CNFN_NUM_(, int *num));
bool (*file_exists)(const char *file);
+ char* (*strip_extension)(char* buffer, int buffer_size, const char *filename);
/* dir */
@@ -400,6 +401,9 @@ struct plugin_api {
bool (*dir_exists)(const char *path);
/* kernel/ system */
+#ifdef CPU_ARM
+ void (*__div0)(void);
+#endif
void (*sleep)(int ticks);
void (*yield)(void);
volatile long* current_tick;
@@ -783,10 +787,6 @@ struct plugin_api {
const char *appsversion;
/* new stuff at the end, sort into place next time
the API gets incompatible */
-#ifdef CPU_ARM
- void (*__div0)(void);
-#endif
- char* (*strip_extension)(char* buffer, int buffer_size, const char *filename);
};
/* plugin header */