diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-26 23:30:30 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-26 23:30:30 +0000 |
| commit | a363035d9f23fe3f68e28bb8d32b339036576b0e (patch) | |
| tree | b9b78633c11d54b6a476abac92538a171278e4b1 /apps/plugin.h | |
| parent | a6880a4f7337fa24b782f31119f0399715995109 (diff) | |
| download | rockbox-a363035d9f23fe3f68e28bb8d32b339036576b0e.zip rockbox-a363035d9f23fe3f68e28bb8d32b339036576b0e.tar.gz rockbox-a363035d9f23fe3f68e28bb8d32b339036576b0e.tar.bz2 rockbox-a363035d9f23fe3f68e28bb8d32b339036576b0e.tar.xz | |
Added default_event_handler() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 1ed2a9b..7470087 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -60,7 +60,7 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 23 +#define PLUGIN_API_VERSION 24 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -293,6 +293,7 @@ struct plugin_api { void (*button_clear_queue)(void); char *(*strncpy)(char *dst, const char *src, size_t length); int (*strcasecmp)(const char *, const char *); + int (*default_event_handler)(int event); }; /* defined by the plugin loader (plugin.c) */ |