From afd704261e8189add57955c8bdc103d50c72ac0f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Jul 2003 09:35:32 +0000 Subject: added three functions to the charcell version of the plugin struct, patch by delorepierre@free.fr git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3870 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 8170a45..a9f5518 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -41,8 +41,9 @@ #include "lcd.h" #include "id3.h" #include "mpeg.h" + /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 5 +#define PLUGIN_API_VERSION 6 /* plugin return codes */ enum plugin_status { @@ -87,6 +88,9 @@ struct plugin_api { void (*lcd_stop_scroll)(void); #ifdef HAVE_LCD_CHARCELLS void (*lcd_define_pattern)(int which,char *pattern); + unsigned char (*lcd_get_locked_pattern)(void); + void (*lcd_unlock_pattern)(unsigned char pat); + void (*lcd_putc)(int x, int y, unsigned short ch); #else void (*lcd_putsxy)(int x, int y, unsigned char *string); void (*lcd_bitmap)(unsigned char *src, int x, int y, -- cgit v1.1