summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f782b7a20c..849c10bb89 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -119,12 +119,12 @@
119#define PLUGIN_MAGIC 0x526F634B /* RocK */ 119#define PLUGIN_MAGIC 0x526F634B /* RocK */
120 120
121/* increase this every time the api struct changes */ 121/* increase this every time the api struct changes */
122#define PLUGIN_API_VERSION 94 122#define PLUGIN_API_VERSION 95
123 123
124/* update this to latest version if a change to the api struct breaks 124/* update this to latest version if a change to the api struct breaks
125 backwards compatibility (and please take the opportunity to sort in any 125 backwards compatibility (and please take the opportunity to sort in any
126 new function which are "waiting" at the end of the function table) */ 126 new function which are "waiting" at the end of the function table) */
127#define PLUGIN_MIN_API_VERSION 88 127#define PLUGIN_MIN_API_VERSION 95
128 128
129/* plugin return codes */ 129/* plugin return codes */
130enum plugin_status { 130enum plugin_status {
@@ -267,6 +267,10 @@ struct plugin_api {
267 void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width, 267 void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width,
268 int height); 268 int height);
269#endif 269#endif
270#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR)
271 void (*lcd_grey_phase_blit)(const struct grey_data *data, int bx, int by,
272 int bwidth, int bheight, int stride);
273#endif
270#if defined(HAVE_LCD_COLOR) 274#if defined(HAVE_LCD_COLOR)
271 void (*lcd_yuv_blit)(unsigned char * const src[3], 275 void (*lcd_yuv_blit)(unsigned char * const src[3],
272 int src_x, int src_y, int stride, 276 int src_x, int src_y, int stride,
@@ -718,11 +722,6 @@ struct plugin_api {
718 const char * (*sound_unit)(int setting); 722 const char * (*sound_unit)(int setting);
719 int (*sound_val2phys)(int setting, int value); 723 int (*sound_val2phys)(int setting, int value);
720#endif /* CONFIG_CODEC == SWCODEC */ 724#endif /* CONFIG_CODEC == SWCODEC */
721
722#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR)
723 void (*lcd_grey_phase_blit)(const struct grey_data *data, int bx, int by,
724 int bwidth, int bheight, int stride);
725#endif
726}; 725};
727 726
728/* plugin header */ 727/* plugin header */