summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 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 */
48enum plugin_status { 49enum 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,