diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 3 | ||||
-rw-r--r-- | apps/plugin.h | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 08358aa576..2319c9defc 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -64,6 +64,9 @@ static struct plugin_api rockbox_api = { | |||
64 | lcd_stop_scroll, | 64 | lcd_stop_scroll, |
65 | #ifdef HAVE_LCD_CHARCELLS | 65 | #ifdef HAVE_LCD_CHARCELLS |
66 | lcd_define_pattern, | 66 | lcd_define_pattern, |
67 | lcd_get_locked_pattern, | ||
68 | lcd_unlock_pattern, | ||
69 | lcd_putc, | ||
67 | #else | 70 | #else |
68 | lcd_putsxy, | 71 | lcd_putsxy, |
69 | lcd_bitmap, | 72 | lcd_bitmap, |
diff --git a/apps/plugin.h b/apps/plugin.h index 8170a45bee..a9f551860a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -41,8 +41,9 @@ | |||
41 | #include "lcd.h" | 41 | #include "lcd.h" |
42 | #include "id3.h" | 42 | #include "id3.h" |
43 | #include "mpeg.h" | 43 | #include "mpeg.h" |
44 | |||
44 | /* increase this every time the api struct changes */ | 45 | /* increase this every time the api struct changes */ |
45 | #define PLUGIN_API_VERSION 5 | 46 | #define PLUGIN_API_VERSION 6 |
46 | 47 | ||
47 | /* plugin return codes */ | 48 | /* plugin return codes */ |
48 | enum plugin_status { | 49 | enum plugin_status { |
@@ -87,6 +88,9 @@ struct plugin_api { | |||
87 | void (*lcd_stop_scroll)(void); | 88 | void (*lcd_stop_scroll)(void); |
88 | #ifdef HAVE_LCD_CHARCELLS | 89 | #ifdef HAVE_LCD_CHARCELLS |
89 | void (*lcd_define_pattern)(int which,char *pattern); | 90 | void (*lcd_define_pattern)(int which,char *pattern); |
91 | unsigned char (*lcd_get_locked_pattern)(void); | ||
92 | void (*lcd_unlock_pattern)(unsigned char pat); | ||
93 | void (*lcd_putc)(int x, int y, unsigned short ch); | ||
90 | #else | 94 | #else |
91 | void (*lcd_putsxy)(int x, int y, unsigned char *string); | 95 | void (*lcd_putsxy)(int x, int y, unsigned char *string); |
92 | void (*lcd_bitmap)(unsigned char *src, int x, int y, | 96 | void (*lcd_bitmap)(unsigned char *src, int x, int y, |