summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 2aa3e09475..01ace98690 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -44,6 +44,7 @@
44#include "mpeg.h" 44#include "mpeg.h"
45#include "audio.h" 45#include "audio.h"
46#include "mp3_playback.h" 46#include "mp3_playback.h"
47#include "misc.h"
47#if (HWCODEC == SWCODEC) 48#if (HWCODEC == SWCODEC)
48#include "pcm_playback.h" 49#include "pcm_playback.h"
49#endif 50#endif
@@ -88,12 +89,12 @@
88#endif 89#endif
89 90
90/* increase this every time the api struct changes */ 91/* increase this every time the api struct changes */
91#define PLUGIN_API_VERSION 49 92#define PLUGIN_API_VERSION 50
92 93
93/* update this to latest version if a change to the api struct breaks 94/* update this to latest version if a change to the api struct breaks
94 backwards compatibility (and please take the opportunity to sort in any 95 backwards compatibility (and please take the opportunity to sort in any
95 new function which are "waiting" at the end of the function table) */ 96 new function which are "waiting" at the end of the function table) */
96#define PLUGIN_MIN_API_VERSION 49 97#define PLUGIN_MIN_API_VERSION 50
97 98
98/* plugin return codes */ 99/* plugin return codes */
99enum plugin_status { 100enum plugin_status {
@@ -151,6 +152,7 @@ struct plugin_api {
151 void (*lcd_put_cursor)(int x, int y, char cursor_char); 152 void (*lcd_put_cursor)(int x, int y, char cursor_char);
152 void (*lcd_remove_cursor)(void); 153 void (*lcd_remove_cursor)(void);
153 void (*PREFIX(lcd_icon))(int icon, bool enable); 154 void (*PREFIX(lcd_icon))(int icon, bool enable);
155 void (*lcd_double_height)(bool on);
154#else 156#else
155#ifndef SIMULATOR 157#ifndef SIMULATOR
156 void (*lcd_roll)(int pixels); 158 void (*lcd_roll)(int pixels);
@@ -420,6 +422,7 @@ struct plugin_api {
420 int (*read_bmp_file)(char* filename, int *get_width, int *get_height, 422 int (*read_bmp_file)(char* filename, int *get_width, int *get_height,
421 char *bitmap, int maxsize); 423 char *bitmap, int maxsize);
422#endif 424#endif
425 int (*show_logo)(void);
423 426
424 /* new stuff at the end, sort into place next time 427 /* new stuff at the end, sort into place next time
425 the API gets incompatible */ 428 the API gets incompatible */