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.tar.gz
rockbox-9e4bd41e416a2d48284947e9ccc09844d3db93ee.zip
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 c3466bc457..464a581dab 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -135,7 +135,7 @@ void* plugin_get_buffer(size_t *buffer_size);
135#define PLUGIN_MAGIC 0x526F634B /* RocK */ 135#define PLUGIN_MAGIC 0x526F634B /* RocK */
136 136
137/* increase this every time the api struct changes */ 137/* increase this every time the api struct changes */
138#define PLUGIN_API_VERSION 182 138#define PLUGIN_API_VERSION 183
139 139
140/* update this to latest version if a change to the api struct breaks 140/* update this to latest version if a change to the api struct breaks
141 backwards compatibility (and please take the opportunity to sort in any 141 backwards compatibility (and please take the opportunity to sort in any
@@ -863,6 +863,10 @@ struct plugin_api {
863 const char *appsversion; 863 const char *appsversion;
864 /* new stuff at the end, sort into place next time 864 /* new stuff at the end, sort into place next time
865 the API gets incompatible */ 865 the API gets incompatible */
866
867#ifdef HAVE_LCD_BITMAP
868 int (*is_diacritic)(const unsigned short char_code, bool *is_rtl);
869#endif
866}; 870};
867 871
868/* plugin header */ 872/* plugin header */