From bf2a33485fc99d83ef74c261d092f6b95e040a37 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 29 Nov 2007 23:55:58 +0000 Subject: Fix some plugins not using the helper functions for the new backlight timeout handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 0aacd4e..9105932 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -113,7 +113,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 90 +#define PLUGIN_API_VERSION 91 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -648,7 +648,13 @@ struct plugin_api { bool (*file_exists)(const char *file); bool (*dir_exists)(const char *path); - + +#ifdef HAVE_REMOTE_LCD + void (*remote_backlight_set_timeout)(int index); +#if CONFIG_CHARGING + void (*remote_backlight_set_timeout_plugged)(int index); +#endif +#endif /* HAVE_REMOTE_LCD */ }; /* plugin header */ -- cgit v1.1