summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index ab570d473e..19eb962588 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -79,9 +79,7 @@ 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" 82#include "jpeg_load.h"
84#endif
85#include "../recorder/bmp.h" 83#include "../recorder/bmp.h"
86#endif 84#endif
87#include "statusbar.h" 85#include "statusbar.h"
@@ -131,7 +129,7 @@ void* plugin_get_buffer(size_t *buffer_size);
131#define PLUGIN_MAGIC 0x526F634B /* RocK */ 129#define PLUGIN_MAGIC 0x526F634B /* RocK */
132 130
133/* increase this every time the api struct changes */ 131/* increase this every time the api struct changes */
134#define PLUGIN_API_VERSION 148 132#define PLUGIN_API_VERSION 149
135 133
136/* update this to latest version if a change to the api struct breaks 134/* update this to latest version if a change to the api struct breaks
137 backwards compatibility (and please take the opportunity to sort in any 135 backwards compatibility (and please take the opportunity to sort in any
@@ -806,9 +804,15 @@ struct plugin_api {
806#endif 804#endif
807#endif 805#endif
808 806
809#if defined(HAVE_LCD_BITMAP) && LCD_DEPTH > 1 807#ifdef HAVE_LCD_BITMAP
808#if LCD_DEPTH > 1
810 int (*read_jpeg_file)(const char* filename, struct bitmap *bm, int maxsize, 809 int (*read_jpeg_file)(const char* filename, struct bitmap *bm, int maxsize,
811 int format, const struct custom_format *cformat); 810 int format, const struct custom_format *cformat);
811 int (*read_jpeg_fd)(int fd, struct bitmap *bm, int maxsize,
812 int format, const struct custom_format *cformat);
813#endif
814 int (*read_bmp_fd)(int fd, struct bitmap *bm, int maxsize,
815 int format, const struct custom_format *cformat);
812#endif 816#endif
813}; 817};
814 818