From bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Mon, 15 Dec 2003 07:44:43 +0000 Subject: the video player plugin and file the type / plugin API for it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4145 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 @@ #include "mpeg.h" /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 7 +#define PLUGIN_API_VERSION 8 /* update this to latest version if a change to the api struct breaks backwards compatibility */ @@ -181,6 +181,13 @@ struct plugin_api { int (*atoi)(const char *str); struct tm* (*get_time)(void); void* (*plugin_get_buffer)(int* buffer_size); + /* new stuff */ +#ifndef HAVE_LCD_CHARCELLS + unsigned char* lcd_framebuffer; + /* performance function */ + void (*lcd_blit) (unsigned char* p_data, int x, int y, int width, int height, int stride); +#endif + void (*yield)(void); }; /* defined by the plugin loader (plugin.c) */ -- cgit v1.2.3