summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:22:16 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:22:16 +0000
commit9e4bd41e416a2d48284947e9ccc09844d3db93ee (patch)
treed575c2b63730c4525a79ad42fe511ba03809a651 /apps/plugin.h
parent8b904e2bb4e92a6c4cb97db7d2c4e43a624b4e28 (diff)
downloadrockbox-9e4bd41e416a2d48284947e9ccc09844d3db93ee.zip
rockbox-9e4bd41e416a2d48284947e9ccc09844d3db93ee.tar.gz
rockbox-9e4bd41e416a2d48284947e9ccc09844d3db93ee.tar.bz2
rockbox-9e4bd41e416a2d48284947e9ccc09844d3db93ee.tar.xz
Text viewer: Fix RTL languages and diacritic characters support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25515 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
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 */