diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-15 07:13:03 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-15 07:13:03 +0000 |
| commit | 7e26412dd17732f2946f1e7079d62ccde146f65e (patch) | |
| tree | 5e0a960dfb1d0e1e40b869c88d760a90b2fe038a /apps/plugin.h | |
| parent | 92dae7c50b888d41482a7a836770068f1293d30a (diff) | |
| download | rockbox-7e26412dd17732f2946f1e7079d62ccde146f65e.zip rockbox-7e26412dd17732f2946f1e7079d62ccde146f65e.tar.gz rockbox-7e26412dd17732f2946f1e7079d62ccde146f65e.tar.bz2 rockbox-7e26412dd17732f2946f1e7079d62ccde146f65e.tar.xz | |
woopsies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 1c3af8c..b45acdb 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -120,12 +120,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 113 +#define PLUGIN_API_VERSION 114 /* 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 113 +#define PLUGIN_MIN_API_VERSION 114 /* plugin return codes */ enum plugin_status { @@ -317,18 +317,18 @@ struct plugin_api { /* button */ long (*button_get)(bool block); long (*button_get_w_tmo)(int ticks); + int (*button_status)(void); #ifdef HAVE_BUTTON_DATA intptr_t (*button_get_data)(void); #endif -#ifdef HAVE_TOUCHPAD - void (*touchpad_set_mode)(enum touchpad_mode); -#endif - int (*button_status)(void); void (*button_clear_queue)(void); int (*button_queue_count)(void); #ifdef HAS_BUTTON_HOLD bool (*button_hold)(void); #endif +#ifdef HAVE_TOUCHPAD + void (*touchpad_set_mode)(enum touchpad_mode); +#endif #ifdef HAVE_BUTTON_LIGHT void (*buttonlight_set_timeout)(int value); void (*buttonlight_off)(void); |