diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-28 10:17:16 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-28 10:17:16 +0000 |
commit | adf2e4c9a012fda200431c92cb2c1707dbe2f0a3 (patch) | |
tree | 3a2755b05f9e2092d5bff458929b825c955c66f1 /apps/plugin.h | |
parent | b57b779fbced4a3fc1ecd0799a7666c2f1645f17 (diff) | |
download | rockbox-adf2e4c9a012fda200431c92cb2c1707dbe2f0a3.tar.gz rockbox-adf2e4c9a012fda200431c92cb2c1707dbe2f0a3.zip |
Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c23e6457cf..edd54989da 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -124,7 +124,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
124 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 124 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
125 | 125 | ||
126 | /* increase this every time the api struct changes */ | 126 | /* increase this every time the api struct changes */ |
127 | #define PLUGIN_API_VERSION 115 | 127 | #define PLUGIN_API_VERSION 116 |
128 | 128 | ||
129 | /* update this to latest version if a change to the api struct breaks | 129 | /* update this to latest version if a change to the api struct breaks |
130 | backwards compatibility (and please take the opportunity to sort in any | 130 | backwards compatibility (and please take the opportunity to sort in any |
@@ -752,6 +752,10 @@ struct plugin_api { | |||
752 | int count, void* data); | 752 | int count, void* data); |
753 | bool (*simplelist_show_list)(struct simplelist_info *info); | 753 | bool (*simplelist_show_list)(struct simplelist_info *info); |
754 | 754 | ||
755 | #ifdef HAVE_LCD_ENABLE | ||
756 | void (*lcd_set_enable_hook)(void (*enable_hook)(void)); | ||
757 | struct event_queue *button_queue; | ||
758 | #endif | ||
755 | }; | 759 | }; |
756 | 760 | ||
757 | /* plugin header */ | 761 | /* plugin header */ |