summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-26 23:37:27 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-27 09:15:05 +0100
commitb8439f2aeab3920eeeabfbf2c5cf15979619410b (patch)
tree74de27c08a29bb053e512a84e217f437f3ce4df5 /apps/plugin.h
parentf4954c4a9bda0edbdc8e93314b713c036c4ebfdd (diff)
downloadrockbox-b8439f2aeab3920eeeabfbf2c5cf15979619410b.zip
rockbox-b8439f2aeab3920eeeabfbf2c5cf15979619410b.tar.gz
rockbox-b8439f2aeab3920eeeabfbf2c5cf15979619410b.tar.bz2
rockbox-b8439f2aeab3920eeeabfbf2c5cf15979619410b.tar.xz
Add touchscreen_get_mode() to plugin and lua.
Change-Id: I44b8693c689da00f57c14622f4ba3dc554dbbfc9
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index d83f6f4..8ce6faf 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -413,6 +413,7 @@ struct plugin_api {
#endif
#ifdef HAVE_TOUCHSCREEN
void (*touchscreen_set_mode)(enum touchscreen_mode);
+ enum touchscreen_mode (*touchscreen_get_mode)(void);
#endif
#ifdef HAVE_BUTTON_LIGHT
void (*buttonlight_set_timeout)(int value);