From 9e4bd41e416a2d48284947e9ccc09844d3db93ee Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Wed, 7 Apr 2010 17:22:16 +0000 Subject: Text viewer: Fix RTL languages and diacritic characters support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index c3466bc..464a581 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -135,7 +135,7 @@ 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 182 +#define PLUGIN_API_VERSION 183 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -863,6 +863,10 @@ struct plugin_api { const char *appsversion; /* new stuff at the end, sort into place next time the API gets incompatible */ + +#ifdef HAVE_LCD_BITMAP + int (*is_diacritic)(const unsigned short char_code, bool *is_rtl); +#endif }; /* plugin header */ -- cgit v1.1