summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-03 14:10:17 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-03 14:10:17 +0000
commit22ec198e41b138c9b5415fdc030ee93abf78df2f (patch)
treec37935ba77f83031c6426a3d17be0bd89fea1ef3 /apps/plugin.h
parentf513da28c9ded2b2440d3e4f6e05b1b24b50c4e9 (diff)
downloadrockbox-22ec198e41b138c9b5415fdc030ee93abf78df2f.zip
rockbox-22ec198e41b138c9b5415fdc030ee93abf78df2f.tar.gz
rockbox-22ec198e41b138c9b5415fdc030ee93abf78df2f.tar.bz2
rockbox-22ec198e41b138c9b5415fdc030ee93abf78df2f.tar.xz
added button_hold() to the plugin api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6115 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index fdabdbd..1cdbd61 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -69,7 +69,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 35
+#define PLUGIN_API_VERSION 36
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -314,6 +314,9 @@ struct plugin_api {
#endif
#endif
int (*PREFIX(mkdir))(const char *name, int mode);
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
+ bool (*button_hold)(void);
+#endif
};
/* defined by the plugin loader (plugin.c) */