Move get_codepage_name() back out of #ifdef HAVE_LCD_BITMAP
55eb1c54 accidentally put it there.
Change-Id: I25d1984f7d4a1e6d65d23aafab5eefea4f92322e
diff --git a/apps/plugin.c b/apps/plugin.c
index 12bfe48..f9cef98 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -262,10 +262,7 @@
&button_queue,
#endif
bidi_l2v,
-#ifdef HAVE_LCD_BITMAP
is_diacritic,
- get_codepage_name,
-#endif
font_get_bits,
font_load,
font_unload,
@@ -275,6 +272,7 @@
screen_clear_area,
gui_scrollbar_draw,
#endif /* HAVE_LCD_BITMAP */
+ get_codepage_name,
#ifdef HAVE_REMOTE_LCD
/* remote lcd */
diff --git a/apps/plugin.h b/apps/plugin.h
index a83960b..c737d7a 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -161,12 +161,12 @@
#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 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 @@
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 */