summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index d38cc42ee7..ab570d473e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -79,6 +79,9 @@ void* plugin_get_buffer(size_t *buffer_size);
79#ifdef HAVE_LCD_BITMAP 79#ifdef HAVE_LCD_BITMAP
80#include "screendump.h" 80#include "screendump.h"
81#include "scrollbar.h" 81#include "scrollbar.h"
82#if LCD_DEPTH > 1
83#include "jpeg_load.h"
84#endif
82#include "../recorder/bmp.h" 85#include "../recorder/bmp.h"
83#endif 86#endif
84#include "statusbar.h" 87#include "statusbar.h"
@@ -128,7 +131,7 @@ void* plugin_get_buffer(size_t *buffer_size);
128#define PLUGIN_MAGIC 0x526F634B /* RocK */ 131#define PLUGIN_MAGIC 0x526F634B /* RocK */
129 132
130/* increase this every time the api struct changes */ 133/* increase this every time the api struct changes */
131#define PLUGIN_API_VERSION 147 134#define PLUGIN_API_VERSION 148
132 135
133/* update this to latest version if a change to the api struct breaks 136/* update this to latest version if a change to the api struct breaks
134 backwards compatibility (and please take the opportunity to sort in any 137 backwards compatibility (and please take the opportunity to sort in any
@@ -802,6 +805,11 @@ struct plugin_api {
802 void (*lcd_pal256_update_pal)(fb_data *palette); 805 void (*lcd_pal256_update_pal)(fb_data *palette);
803#endif 806#endif
804#endif 807#endif
808
809#if defined(HAVE_LCD_BITMAP) && LCD_DEPTH > 1
810 int (*read_jpeg_file)(const char* filename, struct bitmap *bm, int maxsize,
811 int format, const struct custom_format *cformat);
812#endif
805}; 813};
806 814
807/* plugin header */ 815/* plugin header */