summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 61396b4357..2bf6aa772d 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -72,6 +72,8 @@
72static unsigned char pluginbuf[PLUGIN_BUFFER_SIZE]; 72static unsigned char pluginbuf[PLUGIN_BUFFER_SIZE];
73void *sim_plugin_load(char *plugin, int *fd); 73void *sim_plugin_load(char *plugin, int *fd);
74void sim_plugin_close(int fd); 74void sim_plugin_close(int fd);
75void sim_lcd_ex_init(int shades, unsigned long (*getpixel)(int, int));
76void sim_lcd_ex_update_rect(int x, int y, int width, int height);
75#else 77#else
76#define sim_plugin_close(x) 78#define sim_plugin_close(x)
77extern unsigned char pluginbuf[]; 79extern unsigned char pluginbuf[];
@@ -401,6 +403,10 @@ static const struct plugin_api rockbox_api = {
401 /* new stuff at the end, sort into place next time 403 /* new stuff at the end, sort into place next time
402 the API gets incompatible */ 404 the API gets incompatible */
403 tree_get_context, 405 tree_get_context,
406#if defined(SIMULATOR) && defined(HAVE_LCD_BITMAP) && LCD_DEPTH < 8
407 sim_lcd_ex_init,
408 sim_lcd_ex_update_rect,
409#endif
404}; 410};
405 411
406int plugin_load(const char* plugin, void* parameter) 412int plugin_load(const char* plugin, void* parameter)