1
0
Fork 0
forked from len0rd/rockbox

Text viewer: Fix RTL languages and diacritic characters support

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2010-04-07 17:22:16 +00:00
parent 8b904e2bb4
commit 9e4bd41e41
3 changed files with 125 additions and 55 deletions

View file

@ -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 */