From 22ec198e41b138c9b5415fdc030ee93abf78df2f Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Thu, 3 Mar 2005 14:10:17 +0000 Subject: added button_hold() to the plugin api git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6115 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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) */ -- cgit v1.1