From 859f762814a408fabd22171baeba9f1d13e76eda Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 20 Jul 2019 22:06:30 +0200 Subject: Move get_codepage_name() back out of #ifdef HAVE_LCD_BITMAP 55eb1c54 accidentally put it there. Change-Id: I25d1984f7d4a1e6d65d23aafab5eefea4f92322e --- apps/plugin.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'apps/plugin.h') 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); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 236 +#define PLUGIN_API_VERSION 237 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 236 +#define PLUGIN_MIN_API_VERSION 237 /* plugin return codes */ /* internal returns start at 0x100 to make exit(1..255) work */ @@ -288,10 +288,7 @@ struct plugin_api { struct event_queue *button_queue; #endif unsigned short *(*bidi_l2v)( const unsigned char *str, int orientation ); -#ifdef HAVE_LCD_BITMAP bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl); - const char* (*get_codepage_name)(int cp); -#endif const unsigned char *(*font_get_bits)( struct font *pf, unsigned short char_code ); int (*font_load)(const char *path); void (*font_unload)(int font_id); @@ -306,6 +303,7 @@ struct plugin_api { int min_shown, int max_shown, unsigned flags); #endif /* HAVE_LCD_BITMAP */ + const char* (*get_codepage_name)(int cp); #ifdef HAVE_REMOTE_LCD /* remote lcd */ -- cgit v1.2.3