Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

utf8nfc.h

00001 /*
00002  *
00003  * Copyright 2001 CrossWire Bible Society (http://www.crosswire.org)
00004  *      CrossWire Bible Society
00005  *      P. O. Box 2528
00006  *      Tempe, AZ  85280-2528
00007  *
00008  * This program is free software; you can redistribute it and/or modify it
00009  * under the terms of the GNU General Public License as published by the
00010  * Free Software Foundation version 2.
00011  *
00012  * This program is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * General Public License for more details.
00016  *
00017  */
00018 #ifdef _ICU_
00019 
00020 #ifndef UTF8NFC_H
00021 #define UTF8NFC_H
00022 
00023 #include <swfilter.h>
00024 
00025 #include <unicode/utypes.h>
00026 #include <unicode/ucnv.h>
00027 #include <unicode/uchar.h>
00028 #include <unicode/unorm.h>
00029 
00030 #include <defs.h>
00031 
00032 class SWDLLEXPORT UTF8NFC : public SWFilter
00033 {
00034  private:
00035   UConverter* conv;
00036   UChar *source, *target;
00037   UErrorCode err;
00038  public:
00039   UTF8NFC();
00040   ~UTF8NFC();  
00041   virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0);
00042 };
00043 
00044 #endif
00045 
00046 #endif

Generated on Thu Jun 20 22:13:01 2002 for The Sword Project by doxygen1.2.15