summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 */