diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index a83960b260..c737d7adeb 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -161,12 +161,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
161 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 161 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
162 | 162 | ||
163 | /* increase this every time the api struct changes */ | 163 | /* increase this every time the api struct changes */ |
164 | #define PLUGIN_API_VERSION 236 | 164 | #define PLUGIN_API_VERSION 237 |
165 | 165 | ||
166 | /* update this to latest version if a change to the api struct breaks | 166 | /* update this to latest version if a change to the api struct breaks |
167 | backwards compatibility (and please take the opportunity to sort in any | 167 | backwards compatibility (and please take the opportunity to sort in any |
168 | new function which are "waiting" at the end of the function table) */ | 168 | new function which are "waiting" at the end of the function table) */ |
169 | #define PLUGIN_MIN_API_VERSION 236 | 169 | #define PLUGIN_MIN_API_VERSION 237 |
170 | 170 | ||
171 | /* plugin return codes */ | 171 | /* plugin return codes */ |
172 | /* internal returns start at 0x100 to make exit(1..255) work */ | 172 | /* internal returns start at 0x100 to make exit(1..255) work */ |
@@ -288,10 +288,7 @@ struct plugin_api { | |||
288 | struct event_queue *button_queue; | 288 | struct event_queue *button_queue; |
289 | #endif | 289 | #endif |
290 | unsigned short *(*bidi_l2v)( const unsigned char *str, int orientation ); | 290 | unsigned short *(*bidi_l2v)( const unsigned char *str, int orientation ); |
291 | #ifdef HAVE_LCD_BITMAP | ||
292 | bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl); | 291 | bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl); |
293 | const char* (*get_codepage_name)(int cp); | ||
294 | #endif | ||
295 | const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code ); | 292 | const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code ); |
296 | int (*font_load)(const char *path); | 293 | int (*font_load)(const char *path); |
297 | void (*font_unload)(int font_id); | 294 | void (*font_unload)(int font_id); |
@@ -306,6 +303,7 @@ struct plugin_api { | |||
306 | int min_shown, int max_shown, | 303 | int min_shown, int max_shown, |
307 | unsigned flags); | 304 | unsigned flags); |
308 | #endif /* HAVE_LCD_BITMAP */ | 305 | #endif /* HAVE_LCD_BITMAP */ |
306 | const char* (*get_codepage_name)(int cp); | ||
309 | 307 | ||
310 | #ifdef HAVE_REMOTE_LCD | 308 | #ifdef HAVE_REMOTE_LCD |
311 | /* remote lcd */ | 309 | /* remote lcd */ |