summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-24 09:35:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-24 09:35:32 +0000
commitafd704261e8189add57955c8bdc103d50c72ac0f (patch)
tree5d70800fee9b4448db60c30e02ecb615109ae1a3 /apps/plugin.h
parent13a5584767dad3651a58a64e1a983caff5da7fe2 (diff)
downloadrockbox-afd704261e8189add57955c8bdc103d50c72ac0f.zip
rockbox-afd704261e8189add57955c8bdc103d50c72ac0f.tar.gz
rockbox-afd704261e8189add57955c8bdc103d50c72ac0f.tar.bz2
rockbox-afd704261e8189add57955c8bdc103d50c72ac0f.tar.xz
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
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,