From 21a373388833b8f4f7284cff16d48cab7857de2f Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 8 May 2008 21:23:31 +0000 Subject: Lamp plugin: accept the reduced patch of FS #8934 by Alexander Papst git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 8839271..d4c6a86 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -737,6 +737,14 @@ struct plugin_api { #ifdef HAVE_TOUCHPAD void (*touchpad_set_mode)(enum touchpad_mode); #endif /* HAVE_TOUCHPAD */ +#ifdef HAVE_BUTTON_LIGHT + void (*buttonlight_set_timeout)(int value); + void (*buttonlight_off)(void); + void (*buttonlight_on)(void); +#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS + void (*buttonlight_set_brightness)(int val); +#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ +#endif /* HAVE_BUTTON_LIGHT */ }; /* plugin header */ -- cgit v1.1