summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e7ec86aa53..819d75dc24 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -43,7 +43,7 @@
43#include "mpeg.h" 43#include "mpeg.h"
44 44
45/* increase this every time the api struct changes */ 45/* increase this every time the api struct changes */
46#define PLUGIN_API_VERSION 7 46#define PLUGIN_API_VERSION 8
47 47
48/* update this to latest version if a change to the api struct breaks 48/* update this to latest version if a change to the api struct breaks
49 backwards compatibility */ 49 backwards compatibility */
@@ -181,6 +181,13 @@ struct plugin_api {
181 int (*atoi)(const char *str); 181 int (*atoi)(const char *str);
182 struct tm* (*get_time)(void); 182 struct tm* (*get_time)(void);
183 void* (*plugin_get_buffer)(int* buffer_size); 183 void* (*plugin_get_buffer)(int* buffer_size);
184 /* new stuff */
185#ifndef HAVE_LCD_CHARCELLS
186 unsigned char* lcd_framebuffer;
187 /* performance function */
188 void (*lcd_blit) (unsigned char* p_data, int x, int y, int width, int height, int stride);
189#endif
190 void (*yield)(void);
184}; 191};
185 192
186/* defined by the plugin loader (plugin.c) */ 193/* defined by the plugin loader (plugin.c) */