1 /* 2 This is a Optical-Character-Recognition program 3 Copyright (C) 2000-2010 Joerg Schulenburg 4 5 The character codes in this file are Copyright (c) 1991-1999 Unicode, Inc. 6 All Rights reserved. 7 8 This file is provided as-is by Unicode, Inc. (The Unicode Consortium). 9 No claims are made as to fitness for any particular purpose. No 10 warranties of any kind are expressed or implied. The recipient 11 agrees to determine applicability of information provided. If this 12 file has been provided on optical media by Unicode, Inc., the sole 13 remedy for any claim will be exchange of defective media within 90 14 days of receipt. 15 16 Unicode, Inc. hereby grants the right to freely use the information 17 supplied in this file in the creation of products supporting the 18 Unicode Standard, and to make copies of this file in any form for 19 internal or external distribution as long as this notice remains 20 attached. 21 22 For the rest of the file, the following applies: 23 24 This program is free software; you can redistribute it and/or 25 modify it under the terms of the GNU General Public License 26 as published by the Free Software Foundation; either version 2 27 of the License, or (at your option) any later version. 28 29 This program is distributed in the hope that it will be useful, 30 but WITHOUT ANY WARRANTY; without even the implied warranty of 31 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 GNU General Public License for more details. 33 34 You should have received a copy of the GNU General Public License 35 along with this program; if not, write to the Free Software 36 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 37 38 see README for EMAIL-address 39 */ 40 41 #ifndef G_UNICODE_H 42 #define G_UNICODE_H 43 44 #include <stddef.h> 45 46 enum format { 47 ISO8859_1, TeX, HTML, XML, SGML, UTF8, ASCII 48 }; 49 typedef enum format FORMAT; 50 51 /* 52 * Prototypes 53 */ 54 wchar_t compose(wchar_t main, wchar_t modifier); 55 const char *decode(wchar_t c, FORMAT type); 56 57 /* 58 * Unicode codes moved to unicode_defs.h avoiding macro name conflicts 59 * JS Aug2010 60 */ 61 62 #endif 63