summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index bb2778164b..b8ed7a9084 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -155,7 +155,7 @@ void* plugin_get_buffer(size_t *buffer_size);
155#define PLUGIN_MAGIC 0x526F634B /* RocK */ 155#define PLUGIN_MAGIC 0x526F634B /* RocK */
156 156
157/* increase this every time the api struct changes */ 157/* increase this every time the api struct changes */
158#define PLUGIN_API_VERSION 220 158#define PLUGIN_API_VERSION 221
159 159
160/* update this to latest version if a change to the api struct breaks 160/* update this to latest version if a change to the api struct breaks
161 backwards compatibility (and please take the opportunity to sort in any 161 backwards compatibility (and please take the opportunity to sort in any
@@ -960,6 +960,19 @@ struct plugin_api {
960 960
961 /* new stuff at the end, sort into place next time 961 /* new stuff at the end, sort into place next time
962 the API gets incompatible */ 962 the API gets incompatible */
963
964#ifdef HAVE_LCD_BITMAP
965#if CONFIG_CODEC == SWCODEC
966 void (*mixer_channel_set_buffer_hook)(enum pcm_mixer_channel channel,
967 chan_buffer_hook_fn_type fn);
968#endif
969 void (*lcd_set_viewport)(struct viewport* vp);
970 void (*viewport_set_fullscreen)(struct viewport *vp,
971 const enum screen_type screen);
972 void (*lcd_set_framebuffer)(fb_data *fb);
973 void (*lcd_bmp_part)(const struct bitmap *bm, int src_x, int src_y,
974 int x, int y, int width, int height);
975#endif
963}; 976};
964 977
965/* plugin header */ 978/* plugin header */