summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-05-08 21:23:31 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-05-08 21:23:31 +0000
commit21a373388833b8f4f7284cff16d48cab7857de2f (patch)
tree65b423f62c89a66ec7d408121d2be2087a7093fe /apps/plugin.h
parent7835a203473cff4255c1703349fd42ce08b61a46 (diff)
downloadrockbox-21a373388833b8f4f7284cff16d48cab7857de2f.zip
rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.gz
rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.bz2
rockbox-21a373388833b8f4f7284cff16d48cab7857de2f.tar.xz
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 8 insertions, 0 deletions
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 */