diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-11-29 23:55:58 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-11-29 23:55:58 +0000 |
| commit | bf2a33485fc99d83ef74c261d092f6b95e040a37 (patch) | |
| tree | 5e387a4f9306d0a91814e98ca6f4c3ff920c8567 /apps/plugin.h | |
| parent | feb75d43c8e06430d90b3d53478884c80fb7305a (diff) | |
| download | rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.zip rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.gz rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.bz2 rockbox-bf2a33485fc99d83ef74c261d092f6b95e040a37.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 */ |