summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-03-11 15:44:35 +0000
committerDave Chapman <dave@dchapman.com>2006-03-11 15:44:35 +0000
commita814584c87fef79038f6b0f311cfc70fb51d1b95 (patch)
tree4df31679017735c7fa64b32ae78ec3ad078271ae /apps/plugin.h
parent1246668a7807f1f5b9253ad7f9a682fb6b2ff7dd (diff)
downloadrockbox-a814584c87fef79038f6b0f311cfc70fb51d1b95.tar.gz
rockbox-a814584c87fef79038f6b0f311cfc70fb51d1b95.zip
pacbox - a Pacman arcade machine emulator. Currently working for all colour targets and the iriver H1x0. Requires the Pacman arcade machine ROMs in /.rockbox/pacman/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index df23ed1c00..9ebe31f806 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -99,7 +99,7 @@
99#define PLUGIN_MAGIC 0x526F634B /* RocK */ 99#define PLUGIN_MAGIC 0x526F634B /* RocK */
100 100
101/* increase this every time the api struct changes */ 101/* increase this every time the api struct changes */
102#define PLUGIN_API_VERSION 11 102#define PLUGIN_API_VERSION 12
103 103
104/* update this to latest version if a change to the api struct breaks 104/* update this to latest version if a change to the api struct breaks
105 backwards compatibility (and please take the opportunity to sort in any 105 backwards compatibility (and please take the opportunity to sort in any
@@ -476,6 +476,16 @@ struct plugin_api {
476 /* new stuff at the end, sort into place next time 476 /* new stuff at the end, sort into place next time
477 the API gets incompatible */ 477 the API gets incompatible */
478 478
479#if CONFIG_KEYPAD == IRIVER_H300_PAD || CONFIG_KEYPAD == IPOD_4G_PAD
480 /* NOTE: This is already in the plugin api for the H100 - but we put it
481 at the end for other targets to keep the plugin api compatible */
482 bool (*button_hold)(void);
483#endif
484 /* options */
485 bool (*set_option)(const char* string, void* variable,
486 enum optiontype type, const struct opt_items* options,
487 int numoptions, void (*function)(int));
488
479}; 489};
480 490
481/* plugin header */ 491/* plugin header */