diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2019-07-20 22:06:30 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2019-07-20 22:06:30 +0200 |
commit | 859f762814a408fabd22171baeba9f1d13e76eda (patch) | |
tree | 2300d2bd54f7387edcb84268d02b242127cb77a9 /apps/plugin.h | |
parent | 4d2874fd3dfe18651664ba5dcc172b7960b9edd2 (diff) |
Move get_codepage_name() back out of #ifdef HAVE_LCD_BITMAP
55eb1c54 accidentally put it there.
Change-Id: I25d1984f7d4a1e6d65d23aafab5eefea4f92322e
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); #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 */ |