summaryrefslogtreecommitdiff
path: root/firmware/unicode.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-11 09:22:40 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-11 09:22:40 +0000
commitdd7d69515391322e37215fad385ff2c59f80a68b (patch)
tree6ad8c1696c585164e8671cc29b2cb8fe33f64db0 /firmware/unicode.h
parent71f71ef8370c90b818318cf0d04749bb8e15a82c (diff)
downloadrockbox-dd7d69515391322e37215fad385ff2c59f80a68b.tar.gz
rockbox-dd7d69515391322e37215fad385ff2c59f80a68b.zip
Forgot to add the new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1668 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/unicode.h')
-rw-r--r--firmware/unicode.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/firmware/unicode.h b/firmware/unicode.h
new file mode 100644
index 0000000000..dfb4daa2c5
--- /dev/null
+++ b/firmware/unicode.h
@@ -0,0 +1,36 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Alex Gitelman
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#ifndef __UNICODE__
20#define __UNICODE__
21
22unsigned char from_unicode(const unsigned char *uni_char);
23void to_unicode(unsigned char c, unsigned char page, unsigned char *uni_char);
24/* Unicode -> ASCII */
25void install_conversion_table(unsigned char page, unsigned char* conv_table);
26/* ASCII -> Unicode */
27void install_reverse_conversion_table(unsigned char page,
28 unsigned char* rev_conv_table);
29void unicode_init(void);
30
31/* Unicode main init point. Here we must read conversion
32 tables and install them */
33void install_unicode_tables(void);
34
35
36#endif